summaryrefslogtreecommitdiff
path: root/win-guest-tools.nsis
diff options
context:
space:
mode:
authorYedidyah Bar David <didi@redhat.com>2015-11-12 09:06:28 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-11-19 14:29:04 +0100
commit1809abf023d7e3b6bb84b2c326fbd1c2e3d32bf6 (patch)
tree9ed46f400757db6669690e004818c0005349d3cb /win-guest-tools.nsis
parenta099cac5296d862b47f5881fc98c4a464a0afcb9 (diff)
packaging: add Makefile
Allow building the spice installer and building/installing the ovirt installer. Allow passing DISPLAYED_VERSION to make. Allow passing MODE to make to choose between the two installers - SPICE (default) or OVIRT. Some of the code in the Makefile was copied and adapted from ovirt-wgt-installer.spec [1] and ovirt-guest-tools-iso.spec [2]. [1] https://gerrit.ovirt.org/47432 [2] https://gerrit.ovirt.org/48425 Change-Id: I0d651065697d962d4e351ffc1b7274c8eb37cb22 Signed-off-by: Yedidyah Bar David <didi@redhat.com>
Diffstat (limited to 'win-guest-tools.nsis')
-rw-r--r--win-guest-tools.nsis5
1 files changed, 4 insertions, 1 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 8967790..fc00953 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -57,7 +57,10 @@ SetCompressor /SOLID lzma
!error "OVIRT or SPICE symbol should passed to makensis with the -D flag"
!endif
-!define VERSION "0.103"
+!ifndef VERSION
+!error "-DVERSION=<version> should be passed to makensis, see Makefile"
+!endif
+
!ifndef DISPLAYED_VERSION
!define DISPLAYED_VERSION "${VERSION}"
!endif