From 31ffce54eabb6ac14d4eaca32c7645aad9acb01b Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Tue, 1 Oct 2013 17:19:11 +0100 Subject: cmake: po: Always update timestamps --- po/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3