diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2009-09-07 00:29:51 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-10-28 09:34:41 (GMT) |
commit | 1609689ad1b9672fd4598aa30a7429b9d37bc3ca (patch) | |
tree | 3c9e8ab29fa485b36576cd346f1b6c82a15d7da0 /projects.pro | |
parent | d0be442d96f780465eff0be3afbf543e5d3e82ab (diff) | |
download | Qt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.zip Qt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.tar.gz Qt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.tar.bz2 |
Linux support for platform specific commands in .pro files.
Signed-off-by: axis <qt-info@nokia.com>
Diffstat (limited to 'projects.pro')
-rw-r--r-- | projects.pro | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/projects.pro b/projects.pro index 2a6a956..10cff2a 100644 --- a/projects.pro +++ b/projects.pro @@ -107,7 +107,8 @@ win32 { } symbian { confclean.depends += distclean - confclean.commands += \ + win32 { + confclean.commands += \ (cd src\tools\moc && $(MAKE) distclean) $$escape_expand(\n\t) \ (cd src\tools\rcc && $(MAKE) distclean) $$escape_expand(\n\t) \ (cd src\tools\uic && $(MAKE) distclean) $$escape_expand(\n\t) \ @@ -116,7 +117,17 @@ symbian { -$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \ -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \ (cd qmake && $(MAKE) distclean) - + } else { + confclean.commands += \ + (cd src/tools/moc && $(MAKE) distclean) $$escape_expand(\n\t) \ + (cd src/tools/rcc && $(MAKE) distclean) $$escape_expand(\n\t) \ + (cd src/tools/uic && $(MAKE) distclean) $$escape_expand(\n\t) \ + -$(DEL_FILE) src/corelib/global/qconfig.h $$escape_expand(\n\t) \ + -$(DEL_FILE) src/corelib/global/qconfig.cpp $$escape_expand(\n\t) \ + -$(DEL_FILE) mkspecs/qconfig.pri $$escape_expand(\n\t) \ + -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \ + (cd qmake && $(MAKE) distclean) + } } QMAKE_EXTRA_TARGETS += confclean qmakeclean.commands += (cd qmake && $(MAKE) clean) |