Skip to content
Permalink
Browse files
Add svn version to Mac GetInfo window.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5722 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Aug 21, 2006
1 parent aac3bee commit 82b18a223b7567250bc83b083a3fb76c7816ed25
Showing with 5 additions and 3 deletions.
  1. +2 −2 src/mac/Contents/Info.plist.in
  2. +3 −1 src/mac/Contents/Makefile.am
@@ -11,9 +11,9 @@
<key>CFBundleSignature</key>
<string>QGIS</string>
<key>CFBundleGetInfoString</key>
<string>QGIS @VERSION, © 2002-2006 QGIS Development Team</string>
<string>QGIS @VERSION (@SVNVERSION), © 2002-2006 QGIS Development Team</string>
<key>CFBundleShortVersionString</key>
<string>@SHORTVERSION</string>
<string>@SHORTVERSION (@SVNVERSION)</string>
<key>CFBundleVersion</key>
<string>@VERSION</string>
<key>CFBundleIconFile</key>
@@ -19,10 +19,12 @@ contents_DATA = \
Info.plist \
Pkginfo

Info.plist: Info.plist.in $(top_builddir)/configure.in
Info.plist: Info.plist.in $(top_builddir)/configure.in $(top_builddir)/qgssvnversion.h
@SHORTVERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION) && \
SVNVERSION=`svnversion $(top_builddir)` && \
sed -e "s/@VERSION/$(VERSION)/" \
-e "s/@SHORTVERSION/$$SHORTVERSION/" \
-e "s/@SVNVERSION/$$SVNVERSION/" \
< Info.plist.in > $@

Pkginfo: Makefile

0 comments on commit 82b18a2

Please sign in to comment.