diff options
| author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-05-25 22:19:31 +0200 |
|---|---|---|
| committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-05-25 22:19:31 +0200 |
| commit | eab321fa21828fe1aaaa03e4be4583cb70695acf (patch) | |
| tree | 8253cb5ce1b1497b635b632568be9deffd3d22a8 /po/CMakeLists.txt | |
| parent | 8ac36c92a5f29a96d78d05775d6e0d72d2e9d8c8 (diff) | |
Whitespace, new error tracking
Diffstat (limited to 'po/CMakeLists.txt')
| -rw-r--r-- | po/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index b603755..6c8e7e9 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -16,8 +16,8 @@ SET ( _gmoFiles ) # if it is set to some value, install those ############################################################################### FOREACH ( _current_PO_FILE ${_po_files} ) - GET_FILENAME_COMPONENT( _lang ${_current_PO_FILE} NAME_WE ) - SET( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.gmo ) + GET_FILENAME_COMPONENT ( _lang ${_current_PO_FILE} NAME_WE ) + SET ( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.gmo ) ADD_CUSTOM_COMMAND ( OUTPUT ${_gmoFile} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_current_PO_FILE} WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" @@ -25,7 +25,7 @@ FOREACH ( _current_PO_FILE ${_po_files} ) ) INSTALL ( FILES ${CMAKE_BINARY_DIR}/po/${_lang}.gmo DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES/ RENAME tuxanci.mo ) - LIST(APPEND _gmoFiles ${_gmoFile}) -ENDFOREACH(_current_PO_FILE) -ADD_CUSTOM_TARGET(pofiles ALL DEPENDS ${_gmoFiles}) + LIST ( APPEND _gmoFiles ${_gmoFile} ) +ENDFOREACH ( _current_PO_FILE ) +ADD_CUSTOM_TARGET ( pofiles ALL DEPENDS ${_gmoFiles} ) ############################################################################### |