diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-26 20:49:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-26 20:49:42 +0200 |
commit | 9d591525a5d7a693aa47b4a87c5f53c503500c1c (patch) | |
tree | b60633816ee609b0985520c5e8f4fe9bd34c96ae /nsis/gvim.nsi | |
parent | 35d5af6c0b618aef9ca87b05b2e184934e47d916 (diff) | |
download | vim-git-9d591525a5d7a693aa47b4a87c5f53c503500c1c.tar.gz |
patch 8.1.1404: cannot change the patch level when building with NSISv8.1.1404
Problem: Cannot change the patch level when building with NSIS.
Solution: Use $PATCHLEVEL if defined. (Christian Brabandt)
Diffstat (limited to 'nsis/gvim.nsi')
-rw-r--r-- | nsis/gvim.nsi | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index cb2664c09..8e6f6d0d1 100644 --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -47,6 +47,11 @@ Unicode true !include gvim_version.nsh # for version number +# Definition of Patch for Vim +!ifndef PATCHLEVEL + !define PATCHLEVEL 0 +!endif + # ----------- No configurable settings below this line ----------- !include "Library.nsh" # For DLL install @@ -181,8 +186,8 @@ VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers" VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim" VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996" VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor" -VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.0.0" -VIProductVersion "${VER_MAJOR}.${VER_MINOR}.0.0" +VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" +VIProductVersion "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" # Global variables Var vim_dialog |