summaryrefslogtreecommitdiff
path: root/translations/translations.pro
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-02-23 15:51:12 +0100
committeraxis <qt-info@nokia.com>2010-02-23 15:54:45 +0100
commit3fc0b4194bffae9a0d7c7d87f97bb4d1e96e773b (patch)
tree9672a9193db2f87b501a7a221fa29ed990c1d935 /translations/translations.pro
parent734596c1986f84f4c565f30fd436de94cf3cee1f (diff)
downloadqt4-tools-3fc0b4194bffae9a0d7c7d87f97bb4d1e96e773b.tar.gz
Implemented recursive "sis" target and enabled sis_targets feature.
The sis target will depend on the main build target of each project, which should make it possible to simply run "make sis" in the root of a clean tree (after configure, of course), and have sis packages generated for everything. It works at least for Qt. This required some changes to the dependency generation in Qt, to make sure that s60installs builds its package after all of Qt, and that fluidlauncher has all the required files before building a package. In addition, all the sis target code was moved into its own qmake feature file, called sis_targets. It is currently enabled by default for Symbian.
Diffstat (limited to 'translations/translations.pro')
-rw-r--r--translations/translations.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/translations/translations.pro b/translations/translations.pro
index 6f40b49827..566458c3fc 100644
--- a/translations/translations.pro
+++ b/translations/translations.pro
@@ -10,7 +10,7 @@ contains(TEMPLATE_PREFIX, vc):vcproj = 1
TEMPLATE = app
TARGET = qm_phony_target
-CONFIG -= qt separate_debug_info
+CONFIG -= qt separate_debug_info sis_targets
CONFIG += no_icon
QT =
LIBS =
@@ -45,3 +45,8 @@ translations.files = $$TRANSLATIONS
translations.files ~= s,\\.ts$,.qm,g
translations.CONFIG += no_check_exist
INSTALLS += translations
+
+# Make dummy "sis" target to keep recursive "make sis" working.
+sis_target.target = sis
+sis_target.commands =
+QMAKE_EXTRA_TARGETS += sis_target