summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-12-18 14:22:42 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-01 17:22:02 (GMT)
commit470b2de3e24b8eca056a31728a5e1039a9a25d79 (patch)
tree0c24f53c66c1dcf4bf953d350eab61d6ad7b4c17 /qmake/generators
parentec69e5ab5b74064feb88bc1f1096673227f51caa (diff)
downloadQt-470b2de3e24b8eca056a31728a5e1039a9a25d79.zip
Qt-470b2de3e24b8eca056a31728a5e1039a9a25d79.tar.gz
Qt-470b2de3e24b8eca056a31728a5e1039a9a25d79.tar.bz2
qmake: subdirs template: make distclean target use QMAKE_DISTCLEAN
patch by David Faure Reviewed-by: mariusSO
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/makefile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index f1f2503..69e1d8a 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -2536,6 +2536,7 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
QString ofile = Option::fixPathToTargetOS(fileFixify(Option::output.fileName()));
if(!ofile.isEmpty())
t << "\t-$(DEL_FILE) " << ofile << endl;
+ t << varGlue("QMAKE_DISTCLEAN","\t-$(DEL_FILE) "," ","\n");
} else if(project->isActiveConfig("no_empty_targets")) {
t << "\t" << "@cd ." << endl;
}