make 'qmake' target of SUBDIRS projects non-recursive
that's consistent with other projects. 'qmake_all' can be used for recursion. Change-Id: Ie6d620f7a3e0e28d3f2f82f01ca94c2f46137c68 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>bb10
parent
0e6ddb71cc
commit
76ed07168d
|
|
@ -2522,9 +2522,6 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
|
|||
t << endl;
|
||||
|
||||
if (!(flags & SubTargetSkipDefaultTargets)) {
|
||||
if(project->values("QMAKE_INTERNAL_QMAKE_DEPS").indexOf("qmake_all") == -1)
|
||||
project->values("QMAKE_INTERNAL_QMAKE_DEPS").append("qmake_all");
|
||||
|
||||
writeMakeQmake(t);
|
||||
|
||||
t << "qmake_all:";
|
||||
|
|
@ -2711,8 +2708,7 @@ MakefileGenerator::writeMakeQmake(QTextStream &t)
|
|||
}
|
||||
}
|
||||
if(project->first("QMAKE_ORIG_TARGET") != "qmake") {
|
||||
t << "qmake: " <<
|
||||
project->values("QMAKE_INTERNAL_QMAKE_DEPS").join(" \\\n\t\t");
|
||||
t << "qmake:";
|
||||
if(project->isEmpty("QMAKE_NOFORCE"))
|
||||
t << " FORCE";
|
||||
t << "\n\t" << "@" << qmake << endl << endl;
|
||||
|
|
|
|||
|
|
@ -103,8 +103,6 @@ UnixMakefileGenerator::init()
|
|||
MakefileGenerator::init();
|
||||
if(project->isEmpty("MAKEFILE"))
|
||||
project->values("MAKEFILE").append("Makefile");
|
||||
if(project->values("QMAKE_INTERNAL_QMAKE_DEPS").indexOf("qmake_all") == -1)
|
||||
project->values("QMAKE_INTERNAL_QMAKE_DEPS").append("qmake_all");
|
||||
return; /* subdirs is done */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue