summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-21 14:34:02 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-05-08 15:12:34 +0000
commit5a5f1f13bf005b66ce6400fa51dd9a40bedadd3a (patch)
treea6c71e3b246b704342f04f872a132c711709ad30
parente469629eff282693ea99580641b358912f6a2121 (diff)
Improve distclean
Remove our manually generated configuration files on make distclean. Task-number: QTBUG-60235 Change-Id: I8b851fa80e1c17ea6ede9efb6ba0d2f108026db8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--mkspecs/features/gn_generator.prf2
-rw-r--r--qtwebengine.pro2
-rw-r--r--src/buildtools/configure_target.pro2
3 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index 91c045cf..1f730acd 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -242,3 +242,5 @@ TEMPLATE = aux
SOURCES =
HEADERS =
RESOURCES =
+
+QMAKE_DISTCLEAN += $$GN_FILE
diff --git a/qtwebengine.pro b/qtwebengine.pro
index c8f3555e..5ae80ea8 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -13,6 +13,8 @@ isPlatformSupported() {
log(QtWebEngine will not be built.$${EOL})
}
+QMAKE_DISTCLEAN += .qmake.cache
+
OTHER_FILES = \
tools/buildscripts/* \
tools/scripts/* \
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro
index 6ec914dd..31aa283f 100644
--- a/src/buildtools/configure_target.pro
+++ b/src/buildtools/configure_target.pro
@@ -29,3 +29,5 @@ GN_FILE = $$OUT_PWD/../toolchain/BUILD.gn
!build_pass {
write_file($$GN_FILE, GN_CONTENTS, append)
}
+
+QMAKE_DISTCLEAN += $$GN_FILE