summary refs log tree commit diff stats
path: root/data/misc/Makefile.am
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-01-20 03:04:52 -0500
committerTingPing <tingping@tingping.se>2014-01-20 03:04:52 -0500
commit63edd4555b1326554d5161632c0014e310fefe6f (patch)
treed9b6928e0665df2ff4446f89ace5e5f4a9d3a62a /data/misc/Makefile.am
parent10a03f2216a55b922b36971c7a5f763c642a7ce2 (diff)
Translate appdata file
Diffstat (limited to 'data/misc/Makefile.am')
-rw-r--r--data/misc/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/data/misc/Makefile.am b/data/misc/Makefile.am
index ef14c01e..1dcdb4cd 100644
--- a/data/misc/Makefile.am
+++ b/data/misc/Makefile.am
@@ -1,9 +1,10 @@
 util_DATA = hexchat.desktop
 utildir = $(datadir)/applications
 
-appdata_DATA = hexchat.appdata.xml
+appdata_in_files = hexchat.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 appdatadir = $(datadir)/appdata
-
+@INTLTOOL_XML_RULE@
 
 if WITH_TM
 util_DATA += htm.desktop
@@ -21,3 +22,6 @@ uninstall-hook:
 	$(UPDATE_MIME_DATABASE);
 	$(UPDATE_DESKTOP_DATABASE);
 endif
+
+CLEANFILES = $(appdata_DATA)
+