diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 12:01:24 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 12:01:24 +0000 |
commit | 0da3a1d73e2b407047bfedfb4f085fb8df067a19 (patch) | |
tree | ca395afa47195eb1d8dac10ea1a03d68e1cb5772 /muse2/share/locale/CMakeLists.txt | |
parent | cf0828dc76ddc11de107bc65ddada38d03404030 (diff) |
Added proper dependencies to the translations target.
Diffstat (limited to 'muse2/share/locale/CMakeLists.txt')
-rw-r--r-- | muse2/share/locale/CMakeLists.txt | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/muse2/share/locale/CMakeLists.txt b/muse2/share/locale/CMakeLists.txt index 915ffd52..454ed830 100644 --- a/muse2/share/locale/CMakeLists.txt +++ b/muse2/share/locale/CMakeLists.txt @@ -26,8 +26,38 @@ else (UPDATE_TRANSLATIONS) qt4_add_translation(QM_FILES ${TRANSLATIONS_FILES}) endif (UPDATE_TRANSLATIONS) -add_custom_target (translations DEPENDS ${QM_FILES}) -#add_dependencies(translations muse) +add_custom_target (translations ALL DEPENDS ${QM_FILES}) + +# If we are updating the translations, make sure that these targets +# are scanned first +if (UPDATE_TRANSLATIONS) + add_dependencies(translations + muse + arranger + cliplist + ctrl + driver + instruments + liste + marker + master + midiedit + mixer + mplugins + remote + waveedit + widgets + awl + deicsonze + fluid + fluidsynth + libsynti + organ + s1 + simpledrums2 + vam + ) +endif (UPDATE_TRANSLATIONS) #install_files( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/locale .*\\.qm ) install(FILES ${QM_FILES} DESTINATION |