From 97e1fe87f7cb362e0731b4aceec5b8f21e5632d1 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Jan 2021 13:08:32 +0100 Subject: build: Use PACKAGE_URL variable --- plugins/trailsave/Makefile.am | 10 +++++----- plugins/trailsave/trailsave.plugin.desktop.in | 10 ---------- plugins/trailsave/trailsave.plugin.desktop.in.in | 10 ++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 plugins/trailsave/trailsave.plugin.desktop.in create mode 100644 plugins/trailsave/trailsave.plugin.desktop.in.in (limited to 'plugins/trailsave') diff --git a/plugins/trailsave/Makefile.am b/plugins/trailsave/Makefile.am index 45e80ab3..59306184 100644 --- a/plugins/trailsave/Makefile.am +++ b/plugins/trailsave/Makefile.am @@ -15,16 +15,16 @@ libtrailsave_la_SOURCES = \ libtrailsave_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libtrailsave_la_LIBADD = $(PLUMA_LIBS) -plugin_in_files = trailsave.plugin.desktop.in -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) +plugin_DATA = trailsave.plugin +plugin_in_files = $(plugin_DATA:.plugin=.plugin.desktop.in) +plugin_in_in_files = $(plugin_in_files:.plugin.desktop.in=.plugin.desktop.in.in) $(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) +EXTRA_DIST = $(plugin_in_in_files) CLEANFILES = $(plugin_DATA) -DISTCLEANFILES = $(plugin_DATA) - +DISTCLEANFILES = $(plugin_in_files) -include $(top_srcdir)/git.mk diff --git a/plugins/trailsave/trailsave.plugin.desktop.in b/plugins/trailsave/trailsave.plugin.desktop.in deleted file mode 100644 index 86d2a600..00000000 --- a/plugins/trailsave/trailsave.plugin.desktop.in +++ /dev/null @@ -1,10 +0,0 @@ -[Plugin] -Module=trailsave -IAge=2 -Name=Save Without Trailing Spaces -Description=Removes trailing spaces from lines before saving. -# Translators: Do NOT translate or transliterate this text (this is an icon file name)! -Icon=edit-cut -Authors=Marty Mills -Copyright=Copyright © 2015 Marty Mills -Website=https://mate-desktop.org diff --git a/plugins/trailsave/trailsave.plugin.desktop.in.in b/plugins/trailsave/trailsave.plugin.desktop.in.in new file mode 100644 index 00000000..2f54ec38 --- /dev/null +++ b/plugins/trailsave/trailsave.plugin.desktop.in.in @@ -0,0 +1,10 @@ +[Plugin] +Module=trailsave +IAge=2 +Name=Save Without Trailing Spaces +Description=Removes trailing spaces from lines before saving. +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=edit-cut +Authors=Marty Mills +Copyright=Copyright © 2015 Marty Mills +Website=@PACKAGE_URL@ -- cgit v1.2.1