summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-11-12 16:08:28 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-11-17 20:22:25 +0000
commit004aeff8ee6d71e1d0a49bbea29cef0c148cfa24 (patch)
tree5bdbcc508caedb39056b8073ed0e6c050284d387 /mkspecs
parent5c2c890b014f295696fe1a09c0eb40e2a4a95bde (diff)
don't create distclean targets in minimal syncqt mode
the projects which use full mode with the named modules have them. Change-Id: I3b9383d1cc2b43411c25690a5e35e7e84a55aa23 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_module_headers.prf9
1 files changed, 6 insertions, 3 deletions
diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf
index 78a1e38bb0..892a9a2c4b 100644
--- a/mkspecs/features/qt_module_headers.prf
+++ b/mkspecs/features/qt_module_headers.prf
@@ -25,9 +25,12 @@ load(qt_build_paths)
!silent: message($$QMAKE_SYNCQT)
system($$QMAKE_SYNCQT)|error("Failed to run: $$QMAKE_SYNCQT")
- include-distclean.commands = $$QMAKE_DEL_TREE $$shell_quote($$shell_path($$MODULE_BASE_OUTDIR/include/$$MODULE_INCNAME))
- QMAKE_EXTRA_TARGETS += include-distclean
- DISTCLEAN_DEPS += include-distclean
+ !minimal_syncqt {
+ include-distclean.commands = \
+ $$QMAKE_DEL_TREE $$shell_quote($$shell_path($$MODULE_BASE_OUTDIR/include/$$MODULE_INCNAME))
+ QMAKE_EXTRA_TARGETS += include-distclean
+ DISTCLEAN_DEPS += include-distclean
+ }
}
minimal_syncqt: return()