From a2f241fce987a16d313b7fbab17046ec5de72bec Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 22 Apr 2015 12:22:06 +0200 Subject: [PATCH] Stop updating .po files The .po files are handled by the translation project, so we should avoid updating them ourselves. --- po/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 7e5a2ea1..6242b7d8 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -38,13 +38,6 @@ foreach(lang ${po_FILES}) set(po "${CMAKE_CURRENT_SOURCE_DIR}/${lang}.po") set(mo "${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo") - # Update po files after pot file - add_custom_command(TARGET translations_update POST_BUILD - COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none - --sort-by-file ${po} ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc.pot - COMMENT "Updating ${lang}.po" - ) - # Add command to build X.mo from X.po add_custom_command(OUTPUT ${mo} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po} -- 2.39.5