aboutsummaryrefslogtreecommitdiff
path: root/misc/nsis/Makefile
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-20 15:18:11 +0300
committerFathi Boudra <fabo@debian.org>2011-10-20 15:18:11 +0300
commit840643efa638de9dc44f45dc4f3f1c81c2985498 (patch)
treec4d2f3b70c4138f8f7df772b09e663d7794d9456 /misc/nsis/Makefile
Initial import1772-openpandora
Diffstat (limited to 'misc/nsis/Makefile')
-rw-r--r--misc/nsis/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/nsis/Makefile b/misc/nsis/Makefile
new file mode 100644
index 0000000..4405f0f
--- /dev/null
+++ b/misc/nsis/Makefile
@@ -0,0 +1,15 @@
+VERSION=1.35_SVN
+RELEASE=0
+
+all: ioquake3-$(VERSION)-$(RELEASE).x86.exe
+
+ioquake3.nsi: ioquake3.nsi.in
+ sed 's/XXXVERSIONXXX/$(VERSION)/;s/XXXRELEASEXXX/$(RELEASE)/' < $< > $@
+
+ioquake3-$(VERSION)-$(RELEASE).x86.exe: ioquake3.nsi
+ makensis ioquake3.nsi
+
+clean:
+ rm -rf *.exe ioquake3.nsi
+
+.PHONY: all clean