summary refs log tree commit diff stats
path: root/data/misc/Makefile.am
diff options
context:
space:
mode:
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)
+