diff options
author | Wu Xiaotian <[email protected]> | 2019-11-14 15:31:18 +0800 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-12-01 13:20:15 +0100 |
commit | 8f84b07cb85562c442ef1e767e99d6efab182e56 (patch) | |
tree | 113615f7b7112efe8f53d551d3e3c100342bed7c /data/Makefile.am | |
parent | 8efd6d8cb2eabfecea809e8dab9eb013c880e181 (diff) | |
download | engrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.bz2 engrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 7d6017e..f52df44 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -4,8 +4,8 @@ desktopdir = $(datadir)/applications desktop_in_in_files = engrampa.desktop.in.in desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) - -@INTLTOOL_DESKTOP_RULE@ +$(desktop_DATA): $(desktop_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ matchdir = $(datadir)/engrampa match_DATA = packages.match @@ -16,10 +16,11 @@ service_DATA = $(service_in_files:.service.in=.service) $(service_DATA): $(service_in_files) Makefile $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ -@INTLTOOL_XML_RULE@ appdatadir = $(datadir)/metainfo appdata_in_files = engrampa.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) +$(appdata_DATA): $(appdata_in_files) + $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ gsettingsschema_in_files = org.mate.engrampa.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) @@ -65,7 +66,7 @@ CLEANFILES = \ engrampa.appdata.xml \ $(NULL) -dist-hook: +dist-hook: cd $(distdir); rm -f $(CLEANFILES) -include $(top_srcdir)/git.mk |