Skip to content

Commit 82b18a2

Browse files
author
telwertowski
committedAug 21, 2006
Add svn version to Mac GetInfo window.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5722 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent aac3bee commit 82b18a2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎src/mac/Contents/Info.plist.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleSignature</key>
1212
<string>QGIS</string>
1313
<key>CFBundleGetInfoString</key>
14-
<string>QGIS @VERSION, © 2002-2006 QGIS Development Team</string>
14+
<string>QGIS @VERSION (@SVNVERSION), © 2002-2006 QGIS Development Team</string>
1515
<key>CFBundleShortVersionString</key>
16-
<string>@SHORTVERSION</string>
16+
<string>@SHORTVERSION (@SVNVERSION)</string>
1717
<key>CFBundleVersion</key>
1818
<string>@VERSION</string>
1919
<key>CFBundleIconFile</key>

‎src/mac/Contents/Makefile.am

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ contents_DATA = \
1919
Info.plist \
2020
Pkginfo
2121

22-
Info.plist: Info.plist.in $(top_builddir)/configure.in
22+
Info.plist: Info.plist.in $(top_builddir)/configure.in $(top_builddir)/qgssvnversion.h
2323
@SHORTVERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION) && \
24+
SVNVERSION=`svnversion $(top_builddir)` && \
2425
sed -e "s/@VERSION/$(VERSION)/" \
2526
-e "s/@SHORTVERSION/$$SHORTVERSION/" \
27+
-e "s/@SVNVERSION/$$SVNVERSION/" \
2628
< Info.plist.in > $@
2729

2830
Pkginfo: Makefile

0 commit comments

Comments
 (0)
Please sign in to comment.