Skip to content

Commit

Permalink
Add svn version to Mac GetInfo window.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5722 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Aug 21, 2006
1 parent 87ac96c commit 84c41eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mac/Contents/Info.plist.in
Expand Up @@ -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>
Expand Down
4 changes: 3 additions & 1 deletion src/mac/Contents/Makefile.am
Expand Up @@ -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
Expand Down

0 comments on commit 84c41eb

Please sign in to comment.