]> source.dussan.org Git - tigervnc.git/commitdiff
Stop updating .po files
authorPierre Ossman <ossman@cendio.se>
Wed, 22 Apr 2015 10:22:06 +0000 (12:22 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 22 Apr 2015 10:22:06 +0000 (12:22 +0200)
The .po files are handled by the translation project, so we should
avoid updating them ourselves.

po/CMakeLists.txt

index 7e5a2ea124812cdb50f6b4adf5e3012f98183182..6242b7d8b599230adfa9b4d0538b093c05cd8d4f 100644 (file)
@@ -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}