diff options
Diffstat (limited to 'Makefile.mingw64')
-rw-r--r-- | Makefile.mingw64 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.mingw64 b/Makefile.mingw64 index 78978ef..fed71f4 100644 --- a/Makefile.mingw64 +++ b/Makefile.mingw64 @@ -21,6 +21,8 @@ GCC = $(shell which g++) GCC_PATH = $(shell dirname $(GCC)) 7ZIP = $(TOP)/wintools/7za.exe +RESERVE_INSTDIR = 0 + PACKAGE_NAME = qt-$(VERSION)-$(ARCH) test: @@ -104,7 +106,9 @@ qt.$(ARCH): cp -f $(GCC_PATH)/../x86_64-w64-mingw32/bin/libwinpthread-1.dll $(QT_INST_PATH)/bin/ cd $(QT_INST_PATH)/ && \ tar -czf $(TOP)/$(PACKAGE_NAME).tgz . +ifeq ($(RESERVE_INSTDIR),0) rm -Rf $(QT_INST_PATH) +endif rm -Rf $(QT_SRC_PATH) clean: |