[gedit] Process Info.plist with configure for version



commit a37101056e1f8a5d19e3d03d3eebd1a083ba5914
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 6d84910..665d77f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -542,7 +542,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]