summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--data/misc/Makefile.am8
-rw-r--r--data/misc/hexchat.appdata.xml.in (renamed from data/misc/hexchat.appdata.xml)4
-rw-r--r--po/POTFILES.in1
4 files changed, 10 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index c3a54c65..adaf4090 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,6 +38,7 @@ po/POTFILES
 po/remove-potcdate.sed
 po/stamp-*
 data/pkgconfig/hexchat-plugin.pc
+data/misc/hexchat.appdata.xml
 src/common/dbus/example
 src/common/dbus/marshallers.h
 src/common/dbus/org.hexchat.service.service
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)
+
diff --git a/data/misc/hexchat.appdata.xml b/data/misc/hexchat.appdata.xml.in
index cf43ac96..1356322c 100644
--- a/data/misc/hexchat.appdata.xml
+++ b/data/misc/hexchat.appdata.xml.in
@@ -3,8 +3,8 @@
 	<id type="desktop">hexchat.desktop</id>
 	<licence>CC0</licence>
 	<description>
-		<p>HexChat is an easy to use yet extensible IRC Client. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.</p>
-		<p>HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.</p>
+		<_p>HexChat is an easy to use yet extensible IRC Client. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.</_p>
+		<_p>HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.</_p>
 	</description>
 	<url type="homepage">http://hexchat.github.io</url>
 	<screenshots>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 98230eca..3a66b823 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/misc/hexchat.appdata.xml.in
 src/common/cfgfiles.c
 src/common/dcc.c
 src/common/hexchat.c