aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-12-18 18:51:35 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-12-18 18:51:35 +0000
commit655c5d78733304b3249fbad8ca61c8ed4fc93df2 (patch)
treed82ea0ef763b5074de801aea2495dcdcdfcfe10a
parentef96e4d32e6108effa8697c22927894ea9f0631d (diff)
make zip creation reliable by using proper 'make' dependency tracking
svn path=/trunk/; revision=16688
-rwxr-xr-xpackages/win32_inno/Makefile10
1 files changed, 7 insertions, 3 deletions
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