[gedit/gnome-2-28] Process Info.plist with configure for version



commit 77754566a2cd22e86e4b9a28d72603f8dc0c4547
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Thu Dec 31 11:05:59 2009 +0100

    Process Info.plist with configure for version

 configure.ac                      |    4 +++-
 osx/{Info.plist => Info.plist.in} |    6 +++---
 osx/Makefile.am                   |    3 +++
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index abc515c..a28ed12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -512,7 +512,9 @@ plugins/taglist/Makefile
 plugins/time/Makefile
 po/Makefile.in
 win32/gedit.iss
-win32/Makefile])
+win32/Makefile
+osx/Info.plist
+osx/Makefile])
 
 AC_OUTPUT
 
diff --git a/osx/Info.plist b/osx/Info.plist.in
similarity index 98%
rename from osx/Info.plist
rename to osx/Info.plist.in
index e926859..538edc6 100644
--- a/osx/Info.plist
+++ b/osx/Info.plist.in
@@ -7,7 +7,7 @@
 	<key>CFBundleExecutable</key>
 	<string>gedit</string>
 	<key>CFBundleGetInfoString</key>
-	<string>2.26.2 Copyright 2009, gedit</string>
+	<string>@VERSION@ Copyright 2009, gedit</string>
 	<key>CFBundleIconFile</key>
 	<string>gedit.icns</string>
 	<key>CFBundleIdentifier</key>
@@ -17,11 +17,11 @@
 	<key>CFBundlePackageType</key>
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.26.2</string>
+	<string>@VERSION@</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>2.26.2</string>
+	<string>@VERSION@</string>
 	<key>NSHumanReadableCopyright</key>
 	<string>Copyright 2009 gedit, GNU General Public License.</string>
 	<key>LSMinimumSystemVersion</key>
diff --git a/osx/Makefile.am b/osx/Makefile.am
new file mode 100644
index 0000000..a22da52
--- /dev/null
+++ b/osx/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = Info.plist.in
+
+-include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]