summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vesik <sander@src.gnome.org>2002-05-24 01:31:08 +0000
committerSander Vesik <sander@src.gnome.org>2002-05-24 01:31:08 +0000
commit07c55d7bba4a0af6de3d166fa6863b2fb4bdc72c (patch)
treef0d2b5fa89a21008ee6c2b8e5c06920e437ceac7
parent625095de0bb880856281cd2fd2b90cd72e3185bf (diff)
downloadgnome-desktop-07c55d7bba4a0af6de3d166fa6863b2fb4bdc72c.tar.gz
2002-05-23 Sander Vesik
* configure.in, Makefile.am, gnome-version.xml.in: The new world order of xml-ified gnome version information
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am6
-rw-r--r--configure.in17
-rw-r--r--gnome-version.xml.in10
4 files changed, 32 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c2e30aa5..23200627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-23 Sander Vesik
+
+ * configure.in, Makefile.am, gnome-version.xml.in:
+ The new world order of xml-ified gnome version information
+
2002-05-21 Frank Worsley <fworsley@shaw.ca>
* libgnome-desktop/gnome-desktop-item.c:
diff --git a/Makefile.am b/Makefile.am
index ae7e8294..c9f0b40f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,8 +8,8 @@ SUBDIRS = \
man
EXTRA_DIST = \
- gnome-version.in \
- gnome-version \
+ gnome-version.xml.in \
+ gnome-version.xml \
gnome-desktop.spec.in \
gnome-desktop.spec \
COPYING-DOCS \
@@ -21,4 +21,4 @@ EXTRA_DIST = \
intltool-update.in
versiondir=$(datadir)/gnome-about
-version_DATA=gnome-version
+version_DATA=gnome-version.xml
diff --git a/configure.in b/configure.in
index a912dd9d..ea37bfd0 100644
--- a/configure.in
+++ b/configure.in
@@ -14,9 +14,20 @@ AM_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS
-GNOMEVERSION=2.0
+GNOME_PLATFORM=2
+GNOME_MINOR=0
+GNOME_MICRO=0
+GNOME_VENDOR=""
+GNOME_DATE=""
+GNOME_DESCRIPTION=""
+
+AC_SUBST(GNOME_PLATFORM)
+AC_SUBST(GNOME_MINOR)
+AC_SUBST(GNOME_MICRO)
+AC_SUBST(GNOME_VENDOR)
+AC_SUBST(GNOME_DATE)
+AC_SUBST(GNOME_DESCRIPTION)
-AC_SUBST(GNOMEVERSION)
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
@@ -100,7 +111,7 @@ desktop-links/Makefile
gnome-about/Makefile
libgnome-desktop/Makefile
libgnome-desktop/gnome-desktop-2.0.pc
-gnome-version
+gnome-version.xml
po/Makefile.in
pixmaps/Makefile
desktop-docs/Makefile
diff --git a/gnome-version.xml.in b/gnome-version.xml.in
new file mode 100644
index 00000000..32a4a587
--- /dev/null
+++ b/gnome-version.xml.in
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<gnome-version>
+ <platform>@GNOME_PLATFORM@</platform>
+ <minor>@GNOME_MINOR@</minor>
+ <micro>@GNOME_MICRO@</micro>
+ <vendor>@GNOME_VENDOR@</vendor>
+ <date>@GNOME_DATE@</date>
+ <description>@GNOME_DESCRIPTION@</description>
+</gnome-version>
+