X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=Makefile.in;h=3d3f561819e89c4357268c7ab41ff5de52ad740f;hp=703d14eec0e68609400e9a66b2decb9e6a4ebc66;hb=f2bb550da8353a7ab11d487b947ed702aa9a838f;hpb=3126bfee333b5c635dc60a54265936af06117f6a diff --git a/Makefile.in b/Makefile.in index 703d14e..3d3f561 100755 --- 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=$@ //V2 $< + ls -l $@ +endif + # Update configure and rerun. configure: force