From b5fddb95f27836953f89f10ccd36da95d3586d08 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 20 Dec 2018 19:13:46 -0500 Subject: Move contributor list to its own file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream puts the output of git-shortlog into a man page. However, that’s not suitable for Debian – we can’t ship the entire Git history in a source package. It’s also unclear whether contributor lists even really belong in a man page. Pregenerate the contributor list, and install it in /usr/share/doc/rcm. Future developers: You can regenerate the contributor list with git shortlog -es v$UPSTREAM_VERSION >debian/doc/CONTRIBUTORS --- debian/patches/contributors.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/contributors.patch create mode 100644 debian/patches/series (limited to 'debian/patches') diff --git a/debian/patches/contributors.patch b/debian/patches/contributors.patch new file mode 100644 index 0000000..49e0354 --- /dev/null +++ b/debian/patches/contributors.patch @@ -0,0 +1,13 @@ +From: Benjamin Barenblat +Subject: Remove CONTRIBUTORS section from rcm.7 +Forwarded: not-needed + +See README.Debian. +--- a/autogen.sh ++++ b/autogen.sh +@@ -3,4 +3,4 @@ + aclocal && + autoconf && + automake --add-missing --copy && +- ./maint/autocontrib man/rcm.7.mustache ++ sed -n '/.Sh CONTRIBUTORS/q; p' man/rcm.7.mustache >man/rcm.7 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..df41c62 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +contributors.patch -- cgit v1.2.3