summaryrefslogtreecommitdiff
path: root/debian/patches/contributors.patch
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@debian.org>2018-12-20 19:13:46 -0500
committerGravatar Benjamin Barenblat <bbaren@debian.org>2018-12-20 19:26:11 -0500
commitb5fddb95f27836953f89f10ccd36da95d3586d08 (patch)
tree3029b3770668ec48cfff7ac357a3bc30318df792 /debian/patches/contributors.patch
parenteaa69345652e35151cd6b32550a963b56f1abbd1 (diff)
Move contributor list to its own file
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
Diffstat (limited to 'debian/patches/contributors.patch')
-rw-r--r--debian/patches/contributors.patch13
1 files changed, 13 insertions, 0 deletions
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 <bbaren@debian.org>
+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