projects.pro
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   104 			$(DEL_FILE) mkspecs/qconfig.pri; \
   104 			$(DEL_FILE) mkspecs/qconfig.pri; \
   105 			$(DEL_FILE) .qmake.cache; \
   105 			$(DEL_FILE) .qmake.cache; \
   106  			(cd qmake && $(MAKE) distclean);
   106  			(cd qmake && $(MAKE) distclean);
   107 }
   107 }
   108 win32 {
   108 win32 {
   109   confclean.commands += -$(DEL_FILE) src\core\global\qconfig.h $$escape_expand(\n\t) \
   109   confclean.commands += -$(DEL_FILE) src\\core\\global\\qconfig.h $$escape_expand(\\n\\t) \
   110 			-$(DEL_FILE) src\core\global\qconfig.cpp $$escape_expand(\n\t) \
   110 			-$(DEL_FILE) src\\core\\global\\qconfig.cpp $$escape_expand(\\n\\t) \
   111 			-$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \
   111 			-$(DEL_FILE) mkspecs\\qconfig.pri $$escape_expand(\\n\\t) \
   112 			-$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
   112 			-$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
   113 			(cd qmake && $(MAKE) distclean)
   113 			(cd qmake && $(MAKE) distclean)
   114 }
   114 }
   115 symbian {
   115 symbian {
   116   confclean.depends += distclean
   116   confclean.depends += distclean
   117   contains(QMAKE_HOST.os, "Windows") {
   117   contains(QMAKE_HOST.os, "Windows") {
   118     confclean.commands += \
   118     confclean.commands += \
   119             (cd src\tools\moc && $(MAKE) distclean) $$escape_expand(\n\t) \
   119             (cd src\\tools\\moc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   120             (cd src\tools\rcc && $(MAKE) distclean) $$escape_expand(\n\t) \
   120             (cd src\\tools\\rcc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   121             (cd src\tools\uic && $(MAKE) distclean) $$escape_expand(\n\t) \
   121             (cd src\\tools\\uic && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   122             -$(DEL_FILE) src\corelib\global\qconfig.h $$escape_expand(\n\t) \
   122             -$(DEL_FILE) src\\corelib\\global\\qconfig.h $$escape_expand(\\n\\t) \
   123             -$(DEL_FILE) src\corelib\global\qconfig.cpp $$escape_expand(\n\t) \
   123             -$(DEL_FILE) src\\corelib\\global\\qconfig.cpp $$escape_expand(\\n\\t) \
   124             -$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \
   124             -$(DEL_FILE) mkspecs\\qconfig.pri $$escape_expand(\\n\\t) \
   125             -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
   125             -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
   126             (cd qmake && $(MAKE) distclean)
   126             (cd qmake && $(MAKE) distclean)
   127   } else {
   127   } else {
   128     confclean.commands += \
   128     confclean.commands += \
   129             (cd src/tools/moc && $(MAKE) distclean) $$escape_expand(\n\t) \
   129             (cd src/tools/moc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   130             (cd src/tools/rcc && $(MAKE) distclean) $$escape_expand(\n\t) \
   130             (cd src/tools/rcc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   131             (cd src/tools/uic && $(MAKE) distclean) $$escape_expand(\n\t) \
   131             (cd src/tools/uic && $(MAKE) distclean) $$escape_expand(\\n\\t) \
   132             -$(DEL_FILE) src/corelib/global/qconfig.h $$escape_expand(\n\t) \
   132             -$(DEL_FILE) src/corelib/global/qconfig.h $$escape_expand(\\n\\t) \
   133             -$(DEL_FILE) src/corelib/global/qconfig.cpp $$escape_expand(\n\t) \
   133             -$(DEL_FILE) src/corelib/global/qconfig.cpp $$escape_expand(\\n\\t) \
   134             -$(DEL_FILE) mkspecs/qconfig.pri $$escape_expand(\n\t) \
   134             -$(DEL_FILE) mkspecs/qconfig.pri $$escape_expand(\\n\\t) \
   135             -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
   135             -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
   136             (cd qmake && $(MAKE) distclean)
   136             (cd qmake && $(MAKE) distclean)
   137   }
   137   }
   138 }
   138 }
   139 QMAKE_EXTRA_TARGETS += confclean
   139 QMAKE_EXTRA_TARGETS += confclean
   140 qmakeclean.commands += (cd qmake && $(MAKE) clean)
   140 qmakeclean.commands += (cd qmake && $(MAKE) clean)