diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-06-06 22:46:47 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-06-20 10:46:51 +0000 |
commit | c76dfd3aecb808927ae30f726ed9dac0efaf8e1a (patch) | |
tree | 93d64045ddb94e5eafe419308c6c939666abd2af /translations | |
parent | ad5a9af215e2b1276893490c7fe92de39cc25005 (diff) | |
download | qttranslations-c76dfd3aecb808927ae30f726ed9dac0efaf8e1a.tar.gz |
don't delete .qm files on "make clean"
they are final artifacts, so they should be deleted only by a distclean.
Task-number: QTBUG-42729
Change-Id: Ib0c024646e13faefa0e18c94e9464500063373e0
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'translations')
-rw-r--r-- | translations/translations.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index f65dd80..f4b38a8 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -110,7 +110,7 @@ updateqm.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} silent:updateqm.commands = @echo lrelease ${QMAKE_FILE_IN} && $$updateqm.commands updateqm.depends = $$LRELEASE_EXE updateqm.name = LRELEASE ${QMAKE_FILE_IN} -updateqm.CONFIG += no_link target_predeps +updateqm.CONFIG += no_link no_clean target_predeps QMAKE_EXTRA_COMPILERS += updateqm # generate empty _en.ts files @@ -130,3 +130,5 @@ translations.files ~= s,^$$re_escape($$OUT_PWD),,g translations.files ~= s,^,$$MODULE_BASE_OUTDIR/translations/,g translations.CONFIG += no_check_exist INSTALLS += translations + +QMAKE_DISTCLEAN += $$translations.files |