diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-06-26 04:32:53 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-06-26 04:32:53 +0000 |
commit | c0911384577135b0e7d9250076252b1ce6ee76d7 (patch) | |
tree | b8fd6b1646dbcc3db112a70ffd415d1f032065c6 /packages/win32_inno | |
parent | 6d0b0036f85d5fa336ca2bf5daae1ac214d91727 (diff) |
added zip: target to create a zip from the contents of the Inno installer
svn path=/trunk/; revision=15111
Diffstat (limited to 'packages/win32_inno')
-rwxr-xr-x | packages/win32_inno/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
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!" |