aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/module-init-tools.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml
index 54fc310e2..aff6383c0 100644
--- a/chapter06/module-init-tools.xml
+++ b/chapter06/module-init-tools.xml
@@ -41,10 +41,10 @@
<sect2 role="installation">
<title>Installation of Module-Init-Tools</title>
- <para>To avoid a problem with regenerating the man pages when not needed,
- first rewrite a file that just points to another man page:</para>
+ <para>Apply a patch that contains the generated man pages that were missing
+ from the released source tarball:</para>
-<screen><userinput remap="pre">echo '.so man5/modprobe.conf.5' > modprobe.d.5</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&module-init-tools-man-patch;</userinput></screen>
<para>The test suite of this package is geared towards the needs of its
Maintainer. The command <command>make check</command> builds a specially
@@ -53,14 +53,15 @@
<command>make clean</command> command is required to clean up the source
tree before recompiling for normal use):</para>
-<screen><userinput remap="test">./configure
+<screen><userinput remap="test">DOCBOOKTOMAN=/bin/true ./configure
make check
+sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &amp;@' tests/runtests
./tests/runtests
make clean</userinput></screen>
<para>Prepare Module-Init-Tools for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man</userinput></screen>
+<screen><userinput remap="configure">DOCBOOKTOMAN=/bin/true ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man</userinput></screen>
<para>Compile the package:</para>