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/docinfo/Makefile.am | 9 +++++---- plugins/docinfo/docinfo.plugin.desktop.in | 7 ------- plugins/docinfo/docinfo.plugin.desktop.in.in | 8 ++++++++ 3 files changed, 13 insertions(+), 11 deletions(-) delete mode 100644 plugins/docinfo/docinfo.plugin.desktop.in create mode 100644 plugins/docinfo/docinfo.plugin.desktop.in.in (limited to 'plugins/docinfo') diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am index 076bae60..1447c54a 100644 --- a/plugins/docinfo/Makefile.am +++ b/plugins/docinfo/Makefile.am @@ -20,15 +20,16 @@ ui_files = docinfo.ui include $(top_srcdir)/gla11y.mk ui_DATA = $(ui_files) -plugin_in_files = docinfo.plugin.desktop.in -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) +plugin_DATA = docinfo.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 = $(ui_DATA) $(plugin_in_files) ui-a11y.suppr +EXTRA_DIST = $(ui_DATA) $(plugin_in_in_files) ui-a11y.suppr CLEANFILES = $(plugin_DATA) -DISTCLEANFILES = $(plugin_DATA) +DISTCLEANFILES = $(plugin_in_files) -include $(top_srcdir)/git.mk diff --git a/plugins/docinfo/docinfo.plugin.desktop.in b/plugins/docinfo/docinfo.plugin.desktop.in deleted file mode 100644 index 3f6b32e3..00000000 --- a/plugins/docinfo/docinfo.plugin.desktop.in +++ /dev/null @@ -1,7 +0,0 @@ -[Plugin] -Module=docinfo -IAge=2 -Name=Document Statistics -Description=Analyzes the current document and reports the number of words, lines, characters and non-space characters in it. -Authors=Paolo Maggi ;Jorge Alberto Torres -Copyright=Copyright © 2002-2005 Paolo Maggi diff --git a/plugins/docinfo/docinfo.plugin.desktop.in.in b/plugins/docinfo/docinfo.plugin.desktop.in.in new file mode 100644 index 00000000..4848aa37 --- /dev/null +++ b/plugins/docinfo/docinfo.plugin.desktop.in.in @@ -0,0 +1,8 @@ +[Plugin] +Module=docinfo +IAge=2 +Name=Document Statistics +Description=Analyzes the current document and reports the number of words, lines, characters and non-space characters in it. +Authors=Paolo Maggi ;Jorge Alberto Torres +Copyright=Copyright © 2002-2005 Paolo Maggi +Website=@PACKAGE_URL@ -- cgit v1.2.1