summaryrefslogtreecommitdiff
path: root/cocoa/Makefile.target
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-23 19:03:39 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-23 19:03:39 +0000
commitf9ad37983008cef312e1bcab78d8f92c6ecf1ec3 (patch)
treeee8cab363a6dc50177b2ed597c9bfe69bbbd5352 /cocoa/Makefile.target
parentce2f4da8ac557b325fbcbd9ba2e67e579e60e2ea (diff)
downloadnetsurf-f9ad37983008cef312e1bcab78d8f92c6ecf1ec3.tar.gz
netsurf-f9ad37983008cef312e1bcab78d8f92c6ecf1ec3.tar.bz2
Generating version info in Info.plist from version.c
svn path=/trunk/netsurf/; revision=11468
Diffstat (limited to 'cocoa/Makefile.target')
-rw-r--r--cocoa/Makefile.target5
1 files changed, 3 insertions, 2 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index f1c308515..584fa7e04 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -161,5 +161,6 @@ NetSurf.app/Contents/Info.plist: cocoa/res/NetSurf-Info.plist cocoa/Makefile.tar
sed -e 's/$${EXECUTABLE_NAME}/$(EXETARGET)/' \
-e 's/$${PRODUCT_NAME.*}/$(EXETARGET)/' \
-e 's/$${MACOSX_DEPLOYMENT_TARGET}/$(MACOSX_VERSION)/' \
- < cocoa/res/NetSurf-Info.plist > NetSurf.app/Contents/Info.plist
- \ No newline at end of file
+ -e 's/$${NETSURF_VERSION}/$(VERSION_FULL)/' \
+ -e 's/$${NETSURF_SHORT_VERSION}/$(VERSION_MAJ).$(VERSION_MIN)/' \
+ < cocoa/res/NetSurf-Info.plist > NetSurf.app/Contents/Info.plist \ No newline at end of file