tags 593834 + patch thanks * Marco d'Itri <[email protected]>, 2010-08-21, 18:24:
When I rebuilt the package in a clean chroot, /usr/share/man/man5/modprobe.d.5.gz disappeared:Feel free to find out why, I do not understand well how the documentation system works.
Manpages can be generated by either docbook-to-man or docbook2man (from the docbook-utils package). Upstream build system prefers the former, but build-dependencies ensures only that the latter is installed.
docbook-to-man seems to work flawlessly. On the other hand, docbook2man infers output filename from content of an SGML file it process; because doc/modprobe.conf.sgml and doc/modprobe.d.sgml are identical, only one file is created (modproble.conf.5).
I see 3 possible ways to fix this bug: 1) sed -i -e s/docbook-utils/docbook-to-man/ debian/control 2) Apply the attached patch. 3) Force modprobe.d.5 to be just a symlink to modprobe.conf.5. -- Jakub Wilk
--- module-init-tools-3.12.orig/doc/modprobe.d.sgml
+++ module-init-tools-3.12/doc/modprobe.d.sgml
@@ -21,7 +21,7 @@
<date>2010-03-09</date>
</refentryinfo>
<refmeta>
- <refentrytitle>modprobe.conf</refentrytitle>
+ <refentrytitle>modprobe.d</refentrytitle>
<manvolnum>5</manvolnum>
</refmeta>
<refnamediv>
signature.asc
Description: Digital signature

