summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rw-r--r--mate-version.xml.in.in7
3 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 25f797a..7395e0e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,7 @@ ACLOCAL_AMFLAGS = -I m4
if MATE_ABOUT_ENABLED
versiondir=$(datadir)/mate-about
+version_DATA=mate-version.xml
endif
@INTLTOOL_XML_RULE@
@@ -22,6 +23,7 @@ EXTRA_DIST = \
COPYING-DOCS \
HACKING \
MAINTAINERS \
+ mate-version.xml.in.in \
mate-doc-utils.make
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-scrollkeeper
diff --git a/configure.in b/configure.in
index 8827222..9c28506 100644
--- a/configure.in
+++ b/configure.in
@@ -306,6 +306,7 @@ libmate-desktop/mate-desktop-2.0-uninstalled.pc
docs/Makefile
docs/reference/Makefile
docs/reference/mate-desktop/Makefile
+mate-version.xml.in
po/Makefile.in
desktop-docs/Makefile
desktop-docs/fdl/Makefile
diff --git a/mate-version.xml.in.in b/mate-version.xml.in.in
new file mode 100644
index 0000000..524afa8
--- /dev/null
+++ b/mate-version.xml.in.in
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<mate-version>
+ <platform>@MATE_PLATFORM@</platform>
+ <minor>@MATE_MINOR@</minor>
+ <micro>@MATE_MICRO@</micro>
+ @MATE_DATE_COMMENT_START@<date>@MATE_DATE@</date>@MATE_DATE_COMMENT_END@
+</mate-version>