[GRASS-SVN] r29864 - grass/trunk/macosx/app

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 27 13:03:18 EST 2008


Author: kyngchaos
Date: 2008-01-27 13:03:18 -0500 (Sun, 27 Jan 2008)
New Revision: 29864

Modified:
   grass/trunk/macosx/app/Info.plist.in
   grass/trunk/macosx/app/Makefile
Log:
add build version as date stamp to info.plist

Modified: grass/trunk/macosx/app/Info.plist.in
===================================================================
--- grass/trunk/macosx/app/Info.plist.in	2008-01-27 16:32:25 UTC (rev 29863)
+++ grass/trunk/macosx/app/Info.plist.in	2008-01-27 18:03:18 UTC (rev 29864)
@@ -7,7 +7,7 @@
 	<key>CFBundleExecutable</key>
 	<string>GRASS</string>
 	<key>CFBundleGetInfoString</key>
-	<string>GRASS GIS @GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE@</string>
+	<string>GRASS GIS @GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE at -@GRASS_VERSION_BUILD@</string>
 	<key>CFBundleIconFile</key>
 	<string>app.icns</string>
 	<key>CFBundleIdentifier</key>
@@ -21,7 +21,7 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>@GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE@</string>
+	<string>@GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE at -@GRASS_VERSION_BUILD@</string>
 	<key>NSMainNibFile</key>
 	<string>MainMenu.nib</string>
 	<key>NSPrincipalClass</key>

Modified: grass/trunk/macosx/app/Makefile
===================================================================
--- grass/trunk/macosx/app/Makefile	2008-01-27 16:32:25 UTC (rev 29863)
+++ grass/trunk/macosx/app/Makefile	2008-01-27 18:03:18 UTC (rev 29864)
@@ -17,6 +17,7 @@
 endif
 MAKE_DIR_CMD = mkdir -p -m 755
 INSTALL_BIN = ${INSTALL} -m 755
+GRASS_VERSION_BUILD = `/bin/date "+%y%m%d"`
 
 OBJS = Info.plist GRASS.scpt grass.sh main.o
 
@@ -85,6 +86,7 @@
 	sed -e "s, at GRASS_VERSION_MAJOR@,$(GRASS_VERSION_MAJOR),g" \
 	-e "s, at GRASS_VERSION_MINOR@,$(GRASS_VERSION_MINOR),g" \
 	-e "s, at GRASS_VERSION_RELEASE@,$(GRASS_VERSION_RELEASE),g" \
+	-e "s, at GRASS_VERSION_BUILD@,$(GRASS_VERSION_BUILD),g" \
 	Info.plist.in > $(OBJDIR)/Info.plist
 
 $(OBJDIR)/GRASS.scpt: GRASS.applescript



More information about the grass-commit mailing list