Permalink
Browse files

Added prefix to all translations targets

  • Loading branch information...
1 parent 8c296a4 commit 6226e69b512d4415eb6f1802984d273832ec8ce8 @erijo erijo committed Jan 1, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 qt4-gui/po/CMakeLists.txt
@@ -39,12 +39,12 @@ find_program(QT_LRELEASE
# Update translations (note that [clean-]merge targets write to source directory)
if (QT_LUPDATE)
# merge: update all translations
- add_custom_target(merge
+ add_custom_target(${licq_target_prefix}merge
${QT_LUPDATE} ${translate_files} -ts ${po_SRCS}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
# clean-merge: update all translations and remove obsolete strings
- add_custom_target(clean-merge
+ add_custom_target(${licq_target_prefix}clean-merge
${QT_LUPDATE} -noobsolete ${translate_files} -ts ${po_SRCS}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
@@ -55,7 +55,7 @@ if (QT_LUPDATE)
DEPENDS ${translate_files})
# template: create po/template.ts
- add_custom_target(template DEPENDS template.ts)
+ add_custom_target(${licq_target_prefix}template DEPENDS template.ts)
else (QT_LUPDATE)
message(STATUS "lupdate could not be found. You will not be able to update the translations.")
endif (QT_LUPDATE)

0 comments on commit 6226e69

Please sign in to comment.