summaryrefslogtreecommitdiff
path: root/plugins/snippets/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/snippets/Makefile.am')
-rw-r--r--plugins/snippets/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/snippets/Makefile.am b/plugins/snippets/Makefile.am
index 40aeeb90..24f5a5b4 100644
--- a/plugins/snippets/Makefile.am
+++ b/plugins/snippets/Makefile.am
@@ -3,10 +3,11 @@ SUBDIRS = snippets data
plugindir = $(PLUMA_PLUGINS_LIBS_DIR)
plugin_in_files = snippets.plugin.desktop.in
-%.plugin: %.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:.plugin.desktop.in=.plugin)
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@
+
EXTRA_DIST = $(plugin_in_files)
CLEANFILES = $(plugin_DATA)