From c0911384577135b0e7d9250076252b1ce6ee76d7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 26 Jun 2011 04:32:53 +0000 Subject: added zip: target to create a zip from the contents of the Inno installer svn path=/trunk/; revision=15111 --- packages/win32_inno/Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'packages/win32_inno') diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile index 7376639b..56f9a9c1 100755 --- a/packages/win32_inno/Makefile +++ b/packages/win32_inno/Makefile @@ -29,11 +29,27 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ PD_INNO_SETUP = pd-inno.iss -package: $(PD_INNO_SETUP) +zipfolder = $(packages_src)/win32_inno/zip +zippackage = $(zipfolder)/Pd-$(PD_VERSION) +package: installer zip + +installer: $(PD_INNO_SETUP) ## this pops up the GUI app # start $(PD_INNO_SETUP) ## this compiles the package on the command line /c/Program\ Files/Inno\ Setup\ 5/ISCC.exe $(PD_INNO_SETUP) + +zip: +# 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) + install -d "$(zippackage)" + cd "$(zippackage)" && \ + "../Pd-$(PD_VERSION).exe" //DIR=".\\" //LOG="..\\Pd-$(PD_VERSION).log" \ + //VERYSILENT //SP- //NORESTART //NOICONS //SUPPRESSMSGBOXES \ + //TASKS="" + install -p $(DESTDIR)$(prefix)/*.dll "$(zippackage)/bin/" + zip -9r $(zipfolder)/Pd-$(PD_VERSION).zip $(zippackage) @echo " " @echo "win32_inno install succeeded!" -- cgit v1.2.1