[rkward-cvs] SF.net SVN: rkward: [2247] branches/KDE4_port/po/CMakeLists.txt
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Nov 19 00:46:37 UTC 2007
Revision: 2247
http://rkward.svn.sourceforge.net/rkward/?rev=2247&view=rev
Author: tfry
Date: 2007-11-18 16:46:37 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
Simplify po-file handling, somewhat
Modified Paths:
--------------
branches/KDE4_port/po/CMakeLists.txt
Modified: branches/KDE4_port/po/CMakeLists.txt
===================================================================
--- branches/KDE4_port/po/CMakeLists.txt 2007-11-19 00:18:48 UTC (rev 2246)
+++ branches/KDE4_port/po/CMakeLists.txt 2007-11-19 00:46:37 UTC (rev 2247)
@@ -7,10 +7,8 @@
FOREACH(_poFile ${PO_FILES})
GET_FILENAME_COMPONENT(_basename ${_poFile} NAME_WE)
SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.gmo)
- SET(_target translation_${_basename})
- ADD_CUSTOM_TARGET(${_target}
+ ADD_CUSTOM_COMMAND(TARGET translations
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_poFile}
DEPENDS ${_poFile})
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_basename}/LC_MESSAGES/ RENAME ${_basename}.mo)
- ADD_DEPENDENCIES(translations ${_target})
ENDFOREACH(_poFile ${PO_FILES})
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list