diff options
author | Roger Leigh <rleigh@debian.org> | 2013-10-01 17:19:11 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2013-10-01 17:19:11 +0100 |
commit | 31ffce54eabb6ac14d4eaca32c7645aad9acb01b (patch) | |
tree | e5c5eb64c05a1750faf4865cca72d28a26d8fe51 | |
parent | 5432966439516d7b8709707ec4212df23d8af23a (diff) | |
download | schroot-31ffce54eabb6ac14d4eaca32c7645aad9acb01b.tar.gz |
cmake: po: Always update timestamps
-rw-r--r-- | po/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index ed2d0c4d..b08c684a 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -76,6 +76,7 @@ if(BUILD_NLS) add_custom_command(OUTPUT "${pofile}" COMMAND msgmerge --update "${pofile}" "${CMAKE_CURRENT_SOURCE_DIR}/${domain}.pot" + COMMAND touch "${pofile}" DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${domain}.pot" VERBATIM) endforeach(pofile) @@ -87,6 +88,7 @@ if(BUILD_NLS) COMMAND ${CMAKE_COMMAND} -E remove "${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo" COMMAND msgfmt -c --statistics -o "${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}.po" + COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo" DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${lang}.po" VERBATIM) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo" |