From 2f98b73d42fc65e9c1c3feaefe0ba1fe0fd1b66e Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 5 Jan 2016 18:21:57 +0900 Subject: Install gettext ITS rules Recent gettext release has a feature to allow consumer projects to supply their own string extraction rules for XML files, in ITS format. Gettext itself ships the rules for AppData, but it would be better maintained in the upstream project. --- data/Makefile.am | 3 +++ data/appdata.its | 10 ++++++++++ data/appdata.loc | 9 +++++++++ 3 files changed, 22 insertions(+) create mode 100644 data/appdata.its create mode 100644 data/appdata.loc diff --git a/data/Makefile.am b/data/Makefile.am index 032c33c..b902cba 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -20,6 +20,9 @@ man_MANS += \ endif endif +itsdatadir = $(datadir)/gettext/its +dist_itsdata_DATA = appdata.its appdata.loc + XSLTPROC_FLAGS = \ --nonet \ --stringparam man.output.quietly 1 \ diff --git a/data/appdata.its b/data/appdata.its new file mode 100644 index 0000000..734a8e5 --- /dev/null +++ b/data/appdata.its @@ -0,0 +1,10 @@ + + + + + diff --git a/data/appdata.loc b/data/appdata.loc new file mode 100644 index 0000000..97dd7eb --- /dev/null +++ b/data/appdata.loc @@ -0,0 +1,9 @@ + + + + + + + + + -- cgit v1.2.1