forked from aniani/vim
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)
This commit is contained in:
@@ -47,6 +47,11 @@ Unicode true
|
|||||||
|
|
||||||
!include gvim_version.nsh # for version number
|
!include gvim_version.nsh # for version number
|
||||||
|
|
||||||
|
# Definition of Patch for Vim
|
||||||
|
!ifndef PATCHLEVEL
|
||||||
|
!define PATCHLEVEL 0
|
||||||
|
!endif
|
||||||
|
|
||||||
# ----------- No configurable settings below this line -----------
|
# ----------- No configurable settings below this line -----------
|
||||||
|
|
||||||
!include "Library.nsh" # For DLL install
|
!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} "LegalTrademarks" "Vim"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.0.0"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0"
|
||||||
VIProductVersion "${VER_MAJOR}.${VER_MINOR}.0.0"
|
VIProductVersion "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0"
|
||||||
|
|
||||||
# Global variables
|
# Global variables
|
||||||
Var vim_dialog
|
Var vim_dialog
|
||||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1404,
|
||||||
/**/
|
/**/
|
||||||
1403,
|
1403,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user