fix {ALL,CLEAN,DISTCLEAN}_DEPS writeout to makefile

it helps enormously to put spaces between target names ...

Task-number: QTBUG-45533
Change-Id: Ic41f8287c6c37761b1be3ad7c383b5c7fb714b12
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2015-04-22 23:59:01 +02:00
parent 12ffa58539
commit 5fb0b71a12
1 changed files with 3 additions and 3 deletions

View File

@ -2569,11 +2569,11 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
t << " " << targetRule;
}
if(suffix == "all" || suffix == "make_first")
t << depVar("ALL_DEPS");
t << ' ' << depVar("ALL_DEPS");
if(suffix == "clean")
t << depVar("CLEAN_DEPS");
t << ' ' << depVar("CLEAN_DEPS");
else if (suffix == "distclean")
t << depVar("DISTCLEAN_DEPS");
t << ' ' << depVar("DISTCLEAN_DEPS");
t << " FORCE\n";
if(suffix == "clean") {
t << fixFileVarGlue("QMAKE_CLEAN", "\t-$(DEL_FILE) ", "\n\t-$(DEL_FILE) ", "\n");