summaryrefslogtreecommitdiff
path: root/mate-about
diff options
context:
space:
mode:
Diffstat (limited to 'mate-about')
-rw-r--r--mate-about/Makefile.am10
-rw-r--r--mate-about/mate-version.xml.in.in7
2 files changed, 15 insertions, 2 deletions
diff --git a/mate-about/Makefile.am b/mate-about/Makefile.am
index 5c07102..7e028e6 100644
--- a/mate-about/Makefile.am
+++ b/mate-about/Makefile.am
@@ -15,9 +15,15 @@ desktopdir = $(datadir)/applications
desktop_in_files = mate-about.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-EXTRA_DIST = $(desktop_in_files)
+versiondir = $(datadir)/mate-about
+version_DATA = mate-version.xml
-CLEANFILES = $(desktop_DATA) $(bin_PROGRAMS)
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(desktop_in_files) \
+ mate-version.xml.in
+
+CLEANFILES = $(desktop_DATA) $(bin_PROGRAMS) $(version_DATA)
#-include $(top_srcdir)/git.mk
diff --git a/mate-about/mate-version.xml.in.in b/mate-about/mate-version.xml.in.in
new file mode 100644
index 0000000..524afa8
--- /dev/null
+++ b/mate-about/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>