From da50cb352f00605d86d7751782e2316dda28136c Mon Sep 17 00:00:00 2001 From: HumanDynamo Date: Wed, 21 Apr 2010 12:02:25 +0000 Subject: [PATCH] polish --- TODO-CMAKE | 6 +++--- po/CMakeLists.txt | 7 ------- po/README | 8 -------- 3 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 po/README diff --git a/TODO-CMAKE b/TODO-CMAKE index 70399b9b..b3528aab 100644 --- a/TODO-CMAKE +++ b/TODO-CMAKE @@ -5,9 +5,6 @@ * Added support for cross-compiling : add information on how to cross-compile on Linux for Windows (MinGW) (some applications and my own release-build process need this) to the README.CMAKE -* Manage i18n extraction to generate .po files. (See http://www.cmake.org/pipermail/cmake/2009-July/031003.html) - Port extract-messages.sh to CMake - * Emacs M-c command to (re-)compile. * Migrate the whole README-CMAKE to README. @@ -83,5 +80,8 @@ DONE * Manage samples sub-dir with CMake. DONE * Rename configuration settings to EXIV2_*, e.g., EXIV2_ENABLE_SHARED. +DONE * Manage i18n extraction to generate .po files. (See http://www.cmake.org/pipermail/cmake/2009-July/031003.html) + Port extract-messages.sh to CMake + INFO * Check How does cmake handle RPATH? (I'll read up on this). diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 1c1a5c8a..f5cddee5 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -63,12 +63,6 @@ FOREACH (PO_CURRENT ${PO_FILES}) DEPENDS ${PO_CURRENT} ${pot_file} ) -# MESSAGE ("DEPENDANCE : ${PO_CURRENT}") -# MESSAGE ("DEPENDANCE : ${PACKAGE_NAME}.POT") -# MESSAGE ("DEPENDANCE : ${LANGUE}") -# MESSAGE ("DEPENDANCE : ${MO_FILE}") -# MESSAGE ("DEPENDANCE : ${PO_FILES}") - ADD_CUSTOM_COMMAND( OUTPUT ${MO_FILE} COMMAND msgfmt -c ${CMAKE_CURRENT_SOURCE_DIR}/${PO_CURRENT} -o ${CMAKE_CURRENT_SOURCE_DIR}/${langue}.mo @@ -82,5 +76,4 @@ FOREACH (PO_CURRENT ${PO_FILES}) SET( POS_CURRENT ${POS_CURRENT} ${PO_CURRENT}) ENDFOREACH (PO_CURRENT) -# MESSAGE ("dependance : ${POS_CURRENT}") ADD_CUSTOM_TARGET(build_mo ALL DEPENDS ${POS_CURRENT}) diff --git a/po/README b/po/README deleted file mode 100644 index b1b42014..00000000 --- a/po/README +++ /dev/null @@ -1,8 +0,0 @@ -This directory contains the translations for all translated programs inside the -hugin package. Previously only hugin and nona_gui where translated and carried -their own .po files. This has been changed, and all translateable messages are -now in hugin.pot, located in this directory. - -To update the hugin.pot and the translation with new strings found in the -source code, run the extract-messages.sh script. -