mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-12-22 19:31:10 +00:00
makefile: read version from built Info.plist
This commit is contained in:
parent
5d3ff85601
commit
95756edc1f
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ PROJECT="Mini vMac.xcodeproj"
|
||||
SCHEME="Mini vMac"
|
||||
CONFIGURATION=Release
|
||||
APP="build/Build/Products/$(CONFIGURATION)-iphoneos/Mini vMac.app"
|
||||
VERSION=`xpath 2>/dev/null Mini\ vMac/Info.plist "/plist/dict/key[.='CFBundleShortVersionString']/following-sibling::*[1]/text()"`
|
||||
VERSION=`plutil -extract CFBundleShortVersionString xml1 $(APP)/Info.plist -o - | xpath 2>/dev/null '/plist/string/text()'`
|
||||
LDID=ldid
|
||||
|
||||
deb: $(APP)
|
||||
|
Loading…
Reference in New Issue
Block a user