diff options
author | Krzesimir Nowak <qdlacz@gmail.com> | 2019-01-24 22:21:49 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2019-01-24 21:53:19 +0000 |
commit | bb457766e67bead6de48ba5a2e49671aeef0d9c3 (patch) | |
tree | 522bd74cd359b4b8b169913357032c2bad5cd603 /Makefile.am | |
parent | e34c702209d8d35b9e40a3762cdf0cb2c778f5d8 (diff) | |
download | yelp-bb457766e67bead6de48ba5a2e49671aeef0d9c3.tar.gz |
Move from intltool to gettext
This is to make a migration from autotools to meson easier. Also,
intltool got obsoleted by gettext.
There are minor differences in some of the translated files, but
functionally it should not make any difference. But why gettext insist
on reversing the alphabetic order in the appdata file (so zh_TW comes
first and cs comes last) is beyond me.
https://gitlab.gnome.org/GNOME/yelp/merge_requests/11
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index ad256137..8c091cf7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -278,20 +278,17 @@ install-exec-hook: rm -f $(DESTDIR)$(bindir)/gnome-help && \ $(LN_S) yelp $(DESTDIR)$(bindir)/gnome-help -@INTLTOOL_DESKTOP_RULE@ - desktopdir = $(datadir)/applications -desktop_in_files=yelp.desktop.in -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +desktop_DATA = yelp.desktop +yelp.desktop: ${srcdir}/yelp.desktop.in + $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ -@INTLTOOL_XML_RULE@ +data/yelp.appdata.xml: ${srcdir}/data/yelp.appdata.xml.in + $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ -appstream_in_files = data/yelp.appdata.xml.in -appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml) +appstream_XML = data/yelp.appdata.xml @APPSTREAM_XML_RULES@ -@INTLTOOL_SCHEMAS_RULE@ - gsettings_SCHEMAS = data/org.gnome.yelp.gschema.xml @GSETTINGS_RULES@ @@ -697,12 +694,12 @@ xsl_DATA = \ data/xslt/yelp-common.xsl dist_noinst_DATA = \ - $(appstream_in_files) \ - $(desktop_in_files) \ $(gsettings_SCHEMAS) \ $(libyelp_libyelp_la_headers) \ $(noinst_libyelp_libyelp_la_headers) \ $(yelp_headers) \ + yelp.desktop.in \ + data/yelp.appdata.xml.in \ data/domains/yelp.pot \ data/domains/yelp.xml.in \ data/domains/yelp.xml \ |