summaryrefslogtreecommitdiff
path: root/nsis
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-02 15:44:32 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-02 15:44:32 +0100
commit6c7b44472f7055c78d996e1b626bd2932502212f (patch)
treed7586b7336c2435485155488db9226597d7a36db /nsis
parentd5c899a3f1d67a220e571dadf90dde1bbd41e166 (diff)
downloadvim-git-6c7b44472f7055c78d996e1b626bd2932502212f.tar.gz
patch 7.4.1025v7.4.1025
Problem: Version in installer needs to be updated manually. Solution: Generate a file with the version number. (Guopeng Wen)
Diffstat (limited to 'nsis')
-rw-r--r--nsis/gvim.nsi3
-rw-r--r--nsis/gvim_version.nsh6
2 files changed, 7 insertions, 2 deletions
diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi
index a2d20bf82..7c8d4ba87 100644
--- a/nsis/gvim.nsi
+++ b/nsis/gvim.nsi
@@ -21,8 +21,7 @@
# comment the next line if you do not want to add Native Language Support
!define HAVE_NLS
-!define VER_MAJOR 7
-!define VER_MINOR 4
+!include gvim_version.nsh # for version number
# ----------- No configurable settings below this line -----------
diff --git a/nsis/gvim_version.nsh b/nsis/gvim_version.nsh
new file mode 100644
index 000000000..d2edbc72d
--- /dev/null
+++ b/nsis/gvim_version.nsh
@@ -0,0 +1,6 @@
+# Generated from Makefile: define the version numbers
+!ifndef __GVIM_VER__NSH__
+!define __GVIM_VER__NSH__
+!define VER_MAJOR 7
+!define VER_MINOR 4
+!endif