diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2008-01-07 11:19:38 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2008-01-07 11:19:38 +0000 |
commit | f2bb550da8353a7ab11d487b947ed702aa9a838f (patch) | |
tree | 842ab8a94770da28b35f6a2f724ed58cdab92f1d /Makefile.in | |
parent | 643aa9f6fea233073384cdb01e8b23c693bf50e6 (diff) | |
download | virt-top-f2bb550da8353a7ab11d487b947ed702aa9a838f.tar.gz virt-top-f2bb550da8353a7ab11d487b947ed702aa9a838f.tar.xz virt-top-f2bb550da8353a7ab11d487b947ed702aa9a838f.zip |
Basic framework for NSIS.
Diffstat (limited to 'Makefile.in')
-rwxr-xr-x | Makefile.in | 14 |
1 files changed, 14 insertions, 0 deletions
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 |