From: Pierre Ossman Date: Wed, 22 Apr 2015 10:22:06 +0000 (+0200) Subject: Stop updating .po files X-Git-Tag: v1.4.90~20^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a2f241fce987a16d313b7fbab17046ec5de72bec;p=tigervnc.git Stop updating .po files The .po files are handled by the translation project, so we should avoid updating them ourselves. --- 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}