diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-12-18 14:22:42 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-01 17:22:02 (GMT) |
commit | 470b2de3e24b8eca056a31728a5e1039a9a25d79 (patch) | |
tree | 0c24f53c66c1dcf4bf953d350eab61d6ad7b4c17 /qmake | |
parent | ec69e5ab5b74064feb88bc1f1096673227f51caa (diff) | |
download | Qt-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')
-rw-r--r-- | qmake/generators/makefile.cpp | 1 |
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; } |