From 655c5d78733304b3249fbad8ca61c8ed4fc93df2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 18 Dec 2012 18:51:35 +0000 Subject: make zip creation reliable by using proper 'make' dependency tracking svn path=/trunk/; revision=16688 --- packages/win32_inno/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'packages/win32_inno/Makefile') diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile index 4bc89a27..471e247a 100755 --- a/packages/win32_inno/Makefile +++ b/packages/win32_inno/Makefile @@ -47,12 +47,13 @@ installer: $(PD_INNO_SETUP) "$(PROGRAMFILES)/Inno Setup 5/ISCC.exe" "$(PD_INNO_SETUP)" zipfolder = $(packages_src)/win32_inno/zip +zipsource = $(packages_src)/win32_inno/Output/Pd-$(PD_VERSION).exe zippackage = Pd-$(PD_VERSION) zippackagefolder = $(zipfolder)/$(zippackage) -zip: +zip: $(zipsource) # this fake installs the above into a folder to be zipped up install -d "$(zipfolder)" - cp "$(packages_src)/win32_inno/Output/Pd-$(PD_VERSION).exe" "$(zipfolder)" + cp "$(zipsource)" "$(zipfolder)" # test the inno exe innounp -v -t -b -y zip/$(zippackage).exe -d"$(zipfolder)" # extract the inno exe @@ -210,6 +211,7 @@ package_clean: -rm $(PD_INNO_SETUP) -rm -rf $(DESTDIR) -rm -rf Output + -rm -rf $(zipfolder) clean: package_clean @@ -249,4 +251,6 @@ test_locations: gcc --version -.PHONY: all install package clean distclean test_locations test_package exe_install +.PHONY: all build_pd clean distclean exe_install install installer lib_install \ + package package_clean pd_install pd_po_msg_install prebuilt_install \ + tcllib_install test_locations test_package -- cgit v1.2.1