X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=Makefile.in;h=172b103ee753d6e324ec9efc21a0a9506896e82f;hp=703d14eec0e68609400e9a66b2decb9e6a4ebc66;hb=b858ee135c0814f1781cc16802a7b538d5f047a7;hpb=3126bfee333b5c635dc60a54265936af06117f6a diff --git a/Makefile.in b/Makefile.in old mode 100755 new mode 100644 index 703d14e..172b103 --- a/Makefile.in +++ b/Makefile.in @@ -20,6 +20,8 @@ VERSION = @PACKAGE_VERSION@ INSTALL = @INSTALL@ +MAKENSIS = @MAKENSIS@ + OCAMLDOC = @OCAMLDOC@ OCAMLDOCFLAGS := -html -sort @@ -65,6 +67,18 @@ doc: libvirt.{ml,mli} libvirt_version.{ml,mli} endif +# Windows installer (requires NSIS). + +ifneq ($(MAKENSIS),) +wininstaller: $(PACKAGE)-$(VERSION).exe + +$(PACKAGE)-$(VERSION).exe: wininstaller.nsis all opt + "$(MAKENSIS)" \ + //DPACKAGE=$(PACKAGE) //DVERSION=$(VERSION) \ + //DOUTFILE=$@ $< + ls -l $@ +endif + # Update configure and rerun. configure: force