+# Windows installer (requires NSIS).
+
+WININSTALLER := $(PACKAGE)-$(VERSION).exe
+
+ifneq ($(MAKENSIS),)
+wininstaller: $(WININSTALLER)
+
+$(WININSTALLER): wininstaller.nsis all opt
+ "$(MAKENSIS)" \
+ //DPACKAGE=$(PACKAGE) //DVERSION=$(VERSION) \
+ //DOUTFILE=$@ $<
+ ls -l $@
+endif
+