summaryrefslogtreecommitdiff
path: root/plugins/modelines/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modelines/Makefile.am')
-rw-r--r--plugins/modelines/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/modelines/Makefile.am b/plugins/modelines/Makefile.am
index 5284cf93..abcb58db 100644
--- a/plugins/modelines/Makefile.am
+++ b/plugins/modelines/Makefile.am
@@ -22,10 +22,11 @@ libmodelines_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libmodelines_la_LIBADD = $(PLUMA_LIBS)
plugin_in_files = modelines.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) \
$(modelines_DATA)
@@ -33,5 +34,4 @@ EXTRA_DIST = \
CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
-
-include $(top_srcdir)/git.mk