Commit 3f291cb3 authored by Thomas Bernard's avatar Thomas Bernard 💬 Committed by Adrien Destugues
Browse files

Info.plist: use x.y.z version strings

parent 1cc88b9d
Pipeline #372171761 passed with stages
in 60 minutes and 33 seconds
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -19,12 +19,15 @@
<string>Grafx2 version 2.8.3104</string>
<string>Copyright 2008-2021 the Grafx2 project team.
MacOS X version by Franck Charlet.</string>
......@@ -72,6 +72,7 @@ else
VERSIONTAG = $(subst wip.,wip,$(LABEL).$(GIT_REVISION))
VERSIONPLIST = $(shell echo $(VERSIONTAG) | cut -d- -f1)
CFLAGS_CACHE = $(OBJDIR)/.cflags.cache
......@@ -932,8 +933,8 @@ $(MACAPPEXE) : $(BIN)
cp Grafx2.icns
cp ../share/grafx2/gfx2.png
mkdir -p
cat Info.plist | sed -e 's/Grafx2 version [.0-9]*/Grafx2 version $(VERSIONTAG)/' >
iconv -f UTF-16BE English.lproj/InfoPlist.strings | sed -e 's/Grafx2 version [.0-9]*/Grafx2 version $(VERSIONTAG)/' | iconv -t UTF-16BE >
cat Info.plist | sed -e 's/GRAFX2_VERSION/$(VERSIONPLIST)/' >
iconv -f UTF-16BE English.lproj/InfoPlist.strings | sed -e 's/GRAFX2_VERSION/$(VERSIONPLIST)/' | iconv -t UTF-16BE >
cp -r ../share/grafx2/fonts
cp -r ../share/grafx2/skins
cp -r ../share/grafx2/gfx2def.ini
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment