Make sure "make clean" does not remove data directories

These resources are not temporary artifacts, so they should still be
around after "make clean".

Fixes: QTCREATORBUG-13060
Change-Id: I0de91044d597b6a54599c7bc55f83332b41b5572
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Christian Kandeler
2019-04-29 16:04:33 +02:00
parent 69e880c050
commit 02280bf14e
+4 -1
View File
@@ -30,8 +30,11 @@ defineReplace(stripStaticBase) {
win32:copy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\"
unix:copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copy2build.name = COPY ${QMAKE_FILE_IN}
copy2build.config += no_link
copy2build.CONFIG += no_link no_clean
QMAKE_EXTRA_COMPILERS += copy2build
for(static_file, STATIC_FILES) {
QMAKE_DISTCLEAN += $$STATIC_OUTPUT_BASE/$$stripStaticBase($$static_file)
}
}
static.files = $$STATIC_FILES