diff options
author | Wu Xiaotian <[email protected]> | 2019-11-09 15:33:24 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-12-01 11:39:44 +0100 |
commit | 93881642e533133ef9f455612611002531e4475e (patch) | |
tree | b25e92a1cd42271762116dd226ddabf7e78ad99d /tools/plugin_template | |
parent | 6dd6ad739acc075119cb03f62b0cceacef006345 (diff) | |
download | pluma-93881642e533133ef9f455612611002531e4475e.tar.bz2 pluma-93881642e533133ef9f455612611002531e4475e.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'tools/plugin_template')
-rw-r--r-- | tools/plugin_template/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/plugin_template/Makefile.am b/tools/plugin_template/Makefile.am index cf14f903..32569edd 100644 --- a/tools/plugin_template/Makefile.am +++ b/tools/plugin_template/Makefile.am @@ -22,11 +22,11 @@ uidir = $(PLUMA_PLUGINS_DATA_DIR)/##(PLUGIN_MODULE) ui_DATA = plugin_in_files = ##(PLUGIN_MODULE).pluma-plugin.desktop.in - -%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache - plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) +$(plugin_DATA): $(plugin_in_files) + $(AM_V_GEN) $(MSGFMT) --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ + EXTRA_DIST = $(plugin_in_files) CLEANFILES = $(plugin_DATA) $(ui_DATA) |