mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Try to automate the version number used in the windows installer
This adds a Makefile target to create the .nsi file from a template and to hopefully create the right strings to magically get the correct version strings in the Windows installer Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
87798b328e
commit
002fe45dfd
3 changed files with 15 additions and 3 deletions
|
@ -12,4 +12,4 @@ make CC=i686-w64-mingw32-gcc \
|
|||
PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/ \
|
||||
CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw/ \
|
||||
XSLTCONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xslt-config \
|
||||
XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe install-cross-windows
|
||||
XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe install-cross-windows $@
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
# General
|
||||
|
||||
# Program version
|
||||
!define SUBSURFACE_VERSION "2.1"
|
||||
!define SUBSURFACE_VERSION "VERSIONTOKEN"
|
||||
|
||||
# VIProductVersion requires version in x.x.x.x format
|
||||
!define SUBSURFACE_VIPRODUCTVERSION "2.1.0.0"
|
||||
!define SUBSURFACE_VIPRODUCTVERSION "PRODVTOKEN"
|
||||
|
||||
# Installer name and filename
|
||||
Name "Subsurface"
|
Loading…
Add table
Add a link
Reference in a new issue