[anjuta] build: Use the correct version in X-Bugzilla field



commit d295c2016240d7dff4862751e44fe8f38b38fa8c
Author: Johannes Schmid <jhs gnome org>
Date:   Wed May 11 19:48:15 2011 +0200

    build: Use the correct version in X-Bugzilla field

 anjuta.desktop.in.in |    2 +-
 configure.ac         |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/anjuta.desktop.in.in b/anjuta.desktop.in.in
index dd6f278..0cec436 100644
--- a/anjuta.desktop.in.in
+++ b/anjuta.desktop.in.in
@@ -13,5 +13,5 @@ MimeType=application/x-anjuta;
 X-GNOME-DocPath=anjuta/anjuta-manual.xml
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=anjuta
-X-GNOME-Bugzilla-Version= VERSION@
+X-GNOME-Bugzilla-Version= BUGZILLA_VERSION@
 X-GNOME-Bugzilla-Component=unknown
diff --git a/configure.ac b/configure.ac
index 6e3d2ae..5751fff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ m4_define(anjuta_minor_version, 0)
 m4_define(anjuta_micro_version, 0)
 m4_define(anjuta_nano_version, 0)
 m4_define(anjuta_version, anjuta_major_version.anjuta_minor_version.anjuta_micro_version.anjuta_nano_version)
+m4_define(bugzilla_version, anjuta_major_version.anjuta_minor_version.anjuta_micro_version)
 
 AC_INIT([anjuta],[anjuta_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=anjuta],[anjuta],[http://www.anjuta.org/])
 
@@ -27,6 +28,9 @@ AC_SUBST(ANJUTA_VERSION)
 ANJUTA_VERSION=anjuta_version
 AC_SUBST(ANJUTA_VERSION)
 
+BUGZILLA_VERSION=bugzilla_version
+AC_SUBST(BUGZILLA_VERSION)
+
 dnl Anjuta core
 GLIB_REQUIRED=2.28.0
 GTK_REQUIRED=3.0.0



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