diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-05-11 14:27:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-05-11 14:27:28 +0000 |
commit | 4af4cb6b21a54dcc45b9c361be977d0c8339ab9d (patch) | |
tree | 407acfb8f6ebe0d8113908d4c8ec83a27cd7e24c /packages/darwin_app/Makefile | |
parent | 42ae63a25ca45c613277315973dee6377fa6ba9c (diff) |
fixed up Info.plist versioning following Marius' research:
http://lists.puredata.info/pipermail/pd-list/2008-02/059627.html
and this blog post:
http://www.dribin.org/dave/blog/archives/2006/08/02/versioning_os_x_apps/
svn path=/trunk/; revision=9782
Diffstat (limited to 'packages/darwin_app/Makefile')
-rw-r--r-- | packages/darwin_app/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 84a86e25..86224788 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -156,10 +156,12 @@ darwin_app_devel_wrapper: Info.plist #------------------------------------------------------------------------------# # generate Info.plist using PD_APP_NAME and PD_VERSION +Info.plist: CFBUNDLEVERSION_DATE := $(shell date +%Y.%m.%d) Info.plist: Info.plist.in cat Info.plist.in | \ sed 's/PD_APP_NAME/$(PD_APP_NAME)/' | \ - sed 's/PD_VERSION/$(PD_VERSION)/' > \ + sed 's/CFBUNDLESHORTVERSIONSTRING/$(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION)/' | \ + sed 's/CFBUNDLEVERSION/$(CFBUNDLEVERSION_DATE)/' > \ Info.plist # tigital's Gem window focus black magic |