summaryrefslogtreecommitdiff
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 6398011..bfc34c6 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -46,10 +46,11 @@ endif
# Generate plugin info files
-%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
plugins_DATA = $(plugins_in_files:.plugin.desktop.in=.plugin)
+$(plugins_DATA): $(plugins_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
DISTCLEANFILES = $(plugins_DATA)
CLEANFILES = $(plugins_DATA)