]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man: de-duplicate AUTHOR/BUGS sections
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 9 Nov 2025 23:30:08 +0000 (23:30 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:03 +0000 (22:59 -0600)
Move the sections into a dedicated trailer.scd file, which gets added
during manpage generation.

Note, that this removes the following text from kmod.8, which is
intentional:

*kmod* project was started by Lucas De Marchi as a drop-in replacement to
module-init-tools that was maintained by Jon Masters, adding a library (libkmod)
and additional features.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/400
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
13 files changed:
man/depmod.8.scd
man/depmod.d.5.scd
man/insmod.8.scd
man/kmod.8.scd
man/lsmod.8.scd
man/meson.build
man/modinfo.8.scd
man/modprobe.8.scd
man/modprobe.d.5.scd
man/modules.dep.5.scd
man/rmmod.8.scd
man/trailer.scd [new file with mode: 0644]
scripts/build-scdoc.sh

index 10bcfc8e879028e6129cb9d4fb7512a2ee8f766f..1d98da186141b70e2e57e5282f53295ec99017b7 100644 (file)
@@ -163,19 +163,3 @@ Portions Copyright Jon Masters, and others.
 # SEE ALSO
 
 *depmod.d*(5), *modprobe*(8), *modules.dep*(5)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 797a184f7b9e3849e115064b328932da6e870b98..108611627df687a1f9aa599c61ecb2b4cad4122e 100644 (file)
@@ -100,19 +100,3 @@ This manual page Copyright 2006-2010, Jon Masters, Red Hat, Inc.
 # SEE ALSO
 
 *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 103d936023bdc87cbdddc4c86769b5e77206624a..a9a32c83d8876ac1c84f20898c642b08ad047d42 100644 (file)
@@ -62,19 +62,3 @@ This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *modprobe*(8), *rmmod*(8), *lsmod*(8), *modinfo*(8), *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index c3c1254363983335f47578af5b3f59fa08a29d45..cf8a0e47d37edcaffc608f2ae5615dc78738d4b3 100644 (file)
@@ -40,23 +40,3 @@ This manual page originally Copyright 2014, Marco d'Itri.
 # SEE ALSO
 
 *lsmod*(8), *rmmod*(8), *insmod*(8), *modinfo*(8), *modprobe*(8), *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHOR
-
-*kmod* project was started by Lucas De Marchi as a drop-in replacement to
-module-init-tools that was maintained by Jon Masters, adding a library (libkmod)
-and additional features.
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 339526df8110676c153316c34a0d8e0be417dada..9147a4ad5d79af3514ed907feccb5ce5558d5839 100644 (file)
@@ -35,19 +35,3 @@ This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *insmod*(8), *modprobe*(8), *modinfo*(8), *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 6731417c4d5da0da096c342b36e45359ace89af5..0409b280d1b4ff793bd3a01a01d26daf6b581289 100644 (file)
@@ -21,12 +21,12 @@ foreach tuple : _man_pages
     command : [
       build_scdoc,
       scdoc,
-      '@INPUT@',
       's|@SYSCONFDIR@|@0@|g;'.format(sysconfdir) +
       's|@DISTCONFDIR@|@0@|g;'.format(distconfdir) +
       's|@MODULE_DIRECTORY@|@0@|g;'.format(moduledir),
+      '@INPUT@',
     ],
-    input : f'@man@.@section@.scd',
+    input : [f'@man@.@section@.scd', files('trailer.scd')],
     output : f'@man@.@section@',
     capture : true,
     install : true,
index b32e7118f9a00ebea5bddbb89bfed2e5b8cdd8aa..2469f38e7a79ab3abde5275086c269bf7d4e9953 100644 (file)
@@ -69,19 +69,3 @@ This manual page originally Copyright 2003, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *modprobe*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 8c4cceae1be38501e93eb550c60c7ea4e868254c..12c72fdd7ca53cbaa00254f3f72696769fa0aa07 100644 (file)
@@ -229,19 +229,3 @@ This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *modprobe.d*(5), *insmod*(8), *rmmod*(8), *lsmod*(8), *modinfo*(8), *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 40df89c7630a5158898d6c1de9d400c54ed1f719..334b382b655bb648565144ead202a63f14d581f0 100644 (file)
@@ -171,19 +171,3 @@ This manual page originally Copyright 2004, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *modprobe*(8), *modules.dep*(5)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index 37c38bf053853581993b76e41e93efcacbd4be3b..5fa6bf9730200165fe059f81eb38725277268f6e 100644 (file)
@@ -33,19 +33,3 @@ This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *depmod*(8), *modprobe*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
index d4c226282e95013b659eb524757a01924a027c62..66bc848776c79f6aab7c352280b2e3b4afdeee3b 100644 (file)
@@ -48,19 +48,3 @@ This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.
 # SEE ALSO
 
 *modprobe*(8), *insmod*(8), *lsmod*(8), *modinfo*(8), *depmod*(8)
-
-# BUGS
-
-Please direct any bug reports to kmod's issue tracker at
-https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
-to reproduce the problem and the expected outcome.
-
-# AUTHORS
-
-Numerous contributions have come from the linux-modules mailing list
-<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
-itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
-authors for specific parts of the project.
-
-*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
-project.
diff --git a/man/trailer.scd b/man/trailer.scd
new file mode 100644 (file)
index 0000000..0f0364c
--- /dev/null
@@ -0,0 +1,16 @@
+
+# AUTHORS
+
+Numerous contributions have come from the linux-modules mailing list
+<linux-modules@vger.kernel.org> and Github. If you have a clone of kmod.git
+itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
+authors for specific parts of the project.
+
+*Lucas De Marchi* <lucas.de.marchi@gmail.com> is the current maintainer of the
+project.
+
+# BUGS
+
+Please direct any bug reports to kmod's issue tracker at
+https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
+to reproduce the problem and the expected outcome.
index 0a4ffc38ffbc08c72fd18f58157846c7528afd89..72fdee27eba0b4272250ba99b3fbb9de7dda60cd 100755 (executable)
@@ -3,7 +3,9 @@
 set -euo pipefail
 
 SCDOC=$1
-INPUT=$2
-SED_PATTERN=$3
+shift
+SED_PATTERN=$1
+shift
+INPUT=$*
 
 sed -e $SED_PATTERN $INPUT | $SCDOC