summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3550c1796..f052271c5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -410,6 +410,9 @@ add_custom_target(ChangeLog
--output=${CMAKE_BINARY_DIR}/ChangeLog
)
+add_custom_command(OUTPUT po/rpm.pot
+ COMMAND git submodule update --init)
+
function(add_tarball targetname namever treeish)
set(distfmt tar)
set(tarname ${namever}.${distfmt})
@@ -428,7 +431,7 @@ function(add_tarball targetname namever treeish)
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
BYPRODUCTS ${distname} ${docname}
VERBATIM
- DEPENDS ChangeLog ${docname}
+ DEPENDS ChangeLog ${docname} po/rpm.pot
COMMAND git archive
--format=${distfmt}
--output=${CMAKE_BINARY_DIR}/${tarname}