aboutsummaryrefslogtreecommitdiffstats
path: root/misc/nsis/Makefile
diff options
context:
space:
mode:
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