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/spell/Makefile.am | 9 +++++---- plugins/spell/spell.plugin.desktop.in | 10 ---------- plugins/spell/spell.plugin.desktop.in.in | 10 ++++++++++ 3 files changed, 15 insertions(+), 14 deletions(-) delete mode 100644 plugins/spell/spell.plugin.desktop.in create mode 100644 plugins/spell/spell.plugin.desktop.in.in (limited to 'plugins/spell') diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am index 3500950c..9a83544d 100644 --- a/plugins/spell/Makefile.am +++ b/plugins/spell/Makefile.am @@ -33,8 +33,9 @@ ui_files = spell-checker.ui languages-dialog.ui pluma-spell-setup-dialog.ui include $(top_srcdir)/gla11y.mk ui_DATA = $(ui_files) -plugin_in_files = spell.plugin.desktop.in -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) +plugin_DATA = spell.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 $@ @@ -43,13 +44,13 @@ spell_gschema_in = org.mate.pluma.plugins.spell.gschema.xml.in gsettings_SCHEMAS = $(spell_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ - EXTRA_DIST = \ $(ui_DATA) \ - $(plugin_in_files) \ + $(plugin_in_in_files) \ $(spell_gschema_in) \ ui-a11y.suppr CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS) +DISTCLEANFILES = $(plugin_in_files) -include $(top_srcdir)/git.mk diff --git a/plugins/spell/spell.plugin.desktop.in b/plugins/spell/spell.plugin.desktop.in deleted file mode 100644 index f020e753..00000000 --- a/plugins/spell/spell.plugin.desktop.in +++ /dev/null @@ -1,10 +0,0 @@ -[Plugin] -Module=spell -IAge=2 -Name=Spell Checker -Description=Checks the spelling of the current document. -# Translators: Do NOT translate or transliterate this text (this is an icon file name)! -Icon=tools-check-spelling -Authors=Paolo Maggi -Copyright=Copyright © 2002-2005 Paolo Maggi -Website=https://mate-desktop.org diff --git a/plugins/spell/spell.plugin.desktop.in.in b/plugins/spell/spell.plugin.desktop.in.in new file mode 100644 index 00000000..dc8a1824 --- /dev/null +++ b/plugins/spell/spell.plugin.desktop.in.in @@ -0,0 +1,10 @@ +[Plugin] +Module=spell +IAge=2 +Name=Spell Checker +Description=Checks the spelling of the current document. +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=tools-check-spelling +Authors=Paolo Maggi +Copyright=Copyright © 2002-2005 Paolo Maggi +Website=@PACKAGE_URL@ -- cgit v1.2.1