summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cocoa/Makefile.target5
-rw-r--r--cocoa/res/NetSurf-Info.plist4
2 files changed, 5 insertions, 4 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
diff --git a/cocoa/res/NetSurf-Info.plist b/cocoa/res/NetSurf-Info.plist
index a5c540f55..fdb4eef27 100644
--- a/cocoa/res/NetSurf-Info.plist
+++ b/cocoa/res/NetSurf-Info.plist
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>${NETSURF_VERSION}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>${NETSURF_SHORT_VERSION}</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>