From 30e2e190c01760c69cae7eacfbf84d5b90e736ce Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Mon, 17 Dec 2007 23:34:38 +0100 Subject: [PATCH] Merge version info into Mac OS X Tennix.app Don't use default "1.0" version in the SDL App about dialog, but replace it with the correct tennix version when building the "Tennix.app" Mac OS X application. --- makefile | 2 +- osxapp.plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 6709f43..d2d6b4f 100644 --- a/makefile +++ b/makefile @@ -82,7 +82,7 @@ release-osx: tennix mkdir -p $(OSXAPP)/Contents/{MacOS,/Resources} cp -rpv tennix $(OSXAPP)/Contents/MacOS/Tennix cp -rpv $(DATAFILES) $(OSXAPP)/Contents/Resources/ - cp -rpv osxapp.plist $(OSXAPP)/Contents/Info.plist + sed -e 's/TENNIX_VERSION/$(RELEASE)/' osxapp.plist >$(OSXAPP)/Contents/Info.plist echo 'APPL????' >$(OSXAPP)/Contents/PkgInfo zip -r tennix-$(RELEASE)-macosx.zip $(OSXAPP) # End Mac OS X-specific targets diff --git a/osxapp.plist b/osxapp.plist index 280c1fe..08980be 100644 --- a/osxapp.plist +++ b/osxapp.plist @@ -17,7 +17,7 @@ CFBundleSignature ???? CFBundleVersion - 1.0 + TENNIX_VERSION CFBundleIconFile Tennix.icns NSPrincipalClass -- 2.11.4.GIT