Mercurial > vim
comparison nsis/gvim.nsi @ 16804:9fa322a3bc31 v8.1.1404
patch 8.1.1404: cannot change the patch level when building with NSIS
commit https://github.com/vim/vim/commit/9d591525a5d7a693aa47b4a87c5f53c503500c1c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 26 20:49:42 2019 +0200
patch 8.1.1404: cannot change the patch level when building with NSIS
Problem: Cannot change the patch level when building with NSIS.
Solution: Use $PATCHLEVEL if defined. (Christian Brabandt)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 May 2019 21:00:05 +0200 |
parents | 3c182c550195 |
children | 1ec6539cef68 |
comparison
equal
deleted
inserted
replaced
16803:2490583b9685 | 16804:9fa322a3bc31 |
---|---|
44 | 44 |
45 # Uncomment the next line if you want to create a 64-bit installer. | 45 # Uncomment the next line if you want to create a 64-bit installer. |
46 #!define WIN64 | 46 #!define WIN64 |
47 | 47 |
48 !include gvim_version.nsh # for version number | 48 !include gvim_version.nsh # for version number |
49 | |
50 # Definition of Patch for Vim | |
51 !ifndef PATCHLEVEL | |
52 !define PATCHLEVEL 0 | |
53 !endif | |
49 | 54 |
50 # ----------- No configurable settings below this line ----------- | 55 # ----------- No configurable settings below this line ----------- |
51 | 56 |
52 !include "Library.nsh" # For DLL install | 57 !include "Library.nsh" # For DLL install |
53 !ifdef HAVE_VIS_VIM | 58 !ifdef HAVE_VIS_VIM |
179 VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Vim" | 184 VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Vim" |
180 VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers" | 185 VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers" |
181 VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim" | 186 VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim" |
182 VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996" | 187 VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996" |
183 VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor" | 188 VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor" |
184 VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.0.0" | 189 VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" |
185 VIProductVersion "${VER_MAJOR}.${VER_MINOR}.0.0" | 190 VIProductVersion "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" |
186 | 191 |
187 # Global variables | 192 # Global variables |
188 Var vim_dialog | 193 Var vim_dialog |
189 Var vim_nsd_compat | 194 Var vim_nsd_compat |
190 Var vim_nsd_keymap | 195 Var vim_nsd_keymap |