2.6 => 2.7wip

This commit is contained in:
Thomas Bernard
2019-02-09 18:44:25 +01:00
parent 9951d46279
commit 52ccd396d5
5 changed files with 20 additions and 8 deletions

View File

@@ -12,10 +12,13 @@ VERSION := $(subst wip.,wip,$(LABEL).$(GIT_REVISION))
SOURCES = ../src-$(VERSION).tgz
INSTALLER = grafx2-$(API)-$(VERSION).win32.exe
NSISCRIPT = WinInstaller.nsi
.PHONY: all updateversion
all: $(INSTALLER)
$(INSTALLER): WinInstaller.nsi $(SOURCES) $(VERSIONTAG)
$(INSTALLER): $(NSISCRIPT) $(SOURCES) $(VERSIONTAG)
ifdef WIN32CROSS
for f in ../doc/*.txt; do unix2dos $$f ; done
endif
@@ -26,3 +29,7 @@ endif
$(SOURCES): $(wildcard ../src/*.c) $(wildcard ../src/*.h)
cd ../src && WIN32CROSS=1 $(MAKE) $(SOURCES)
updateversion:
$(SED) -e 's/VERSION .*/VERSION $(VERSION)/' $(NSISCRIPT) > $(NSISCRIPT).tmp
if ! diff -q -i $(NSISCRIPT) $(NSISCRIPT).tmp ; then mv $(NSISCRIPT).tmp $(NSISCRIPT) ; else rm $(NSISCRIPT).tmp ; fi

View File

@@ -1,7 +1,7 @@
;NSIS Modern User Interface
;Based on the Example Script written by Joost Verburg
!define VERSION 2.6.2472
!define VERSION 2.7wip2567
!define API sdl
!define FREETYPEDLL libfreetype-6.dll