summaryrefslogtreecommitdiff
path: root/plugins/modelines
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modelines')
-rw-r--r--plugins/modelines/Makefile.am6
-rw-r--r--plugins/modelines/modelines.plugin.desktop.in4
2 files changed, 5 insertions, 5 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
diff --git a/plugins/modelines/modelines.plugin.desktop.in b/plugins/modelines/modelines.plugin.desktop.in
index bba8b48d..2d30c34e 100644
--- a/plugins/modelines/modelines.plugin.desktop.in
+++ b/plugins/modelines/modelines.plugin.desktop.in
@@ -1,8 +1,8 @@
[Plugin]
Module=modelines
IAge=2
-_Name=Modelines
-_Description=Emacs, Kate and Vim-style modelines support for pluma.
+Name=Modelines
+Description=Emacs, Kate and Vim-style modelines support for pluma.
Authors=Steve Frécinaux <[email protected]>
Copyright=Copyright © 2005 Steve Frécinaux
Website=https://mate-desktop.org