summaryrefslogtreecommitdiffstats
path: root/qmake/generators/unix/unixmake2.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-05-05 16:30:28 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-05 16:30:28 (GMT)
commit9e95890804d8b5114f8090496b82327178055348 (patch)
treedbc17e0bceadcbd771e45a29cb1addcdd7fa18c2 /qmake/generators/unix/unixmake2.cpp
parent671fff6071d1064094bf41364b11df3b55e7a65c (diff)
parentd1ac6af4f30e822e161fd8772104aa2e30e55a2f (diff)
downloadQt-9e95890804d8b5114f8090496b82327178055348.zip
Qt-9e95890804d8b5114f8090496b82327178055348.tar.gz
Qt-9e95890804d8b5114f8090496b82327178055348.tar.bz2
Merge remote-tracking branch 'origin/4.8'
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
-rw-r--r--qmake/generators/unix/unixmake2.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index 9f14492..82f2366 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -96,7 +96,8 @@ UnixMakefileGenerator::writeMakefile(QTextStream &t)
}
if (project->values("TEMPLATE").first() == "app" ||
- project->values("TEMPLATE").first() == "lib") {
+ project->values("TEMPLATE").first() == "lib" ||
+ project->values("TEMPLATE").first() == "aux") {
if(Option::mkfile::do_stub_makefile && MakefileGenerator::writeStubMakefile(t))
return true;
writeMakeParts(t);
@@ -1017,6 +1018,9 @@ void UnixMakefileGenerator::init2()
if(project->isEmpty("QMAKE_FRAMEWORK_VERSION"))
project->values("QMAKE_FRAMEWORK_VERSION").append(project->values("VER_MAJ").first());
+ if (project->values("TEMPLATE").first() == "aux")
+ return;
+
if (!project->values("QMAKE_APP_FLAG").isEmpty()) {
if(!project->isEmpty("QMAKE_BUNDLE")) {
QString bundle_loc = project->first("QMAKE_BUNDLE_LOCATION");