aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kmod.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/kmod.xml')
-rw-r--r--chapter06/kmod.xml14
1 files changed, 6 insertions, 8 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml
index 063433040..06a1e19bb 100644
--- a/chapter06/kmod.xml
+++ b/chapter06/kmod.xml
@@ -88,21 +88,19 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>Install the package, create symlinks for compatibility with
- Module-Init-Tools (the package that previously handled Linux kernel
- modules), and manually install the man pages. Also make sure that all
- libraries are in the correct directory: </para>
+ <para>Install the package, man pages, and create symlinks for
+ compatibility with Module-Init-Tools (the package that previously handled
+ Linux kernel modules). Also make sure that all libraries are in the
+ correct directory: </para>
<screen><userinput remap="install">make install
+make -C man install
for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod /sbin/$target
done
-ln -sv kmod /bin/lsmod
-
-cp -v man/*.5 /usr/share/man/man5
-cp -v man/*.8 /usr/share/man/man8</userinput></screen>
+ln -sv kmod /bin/lsmod</userinput></screen>
</sect2>