diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index c772c6436..ff02f6eeb 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -47,6 +47,7 @@ --bindir=/bin \ --sysconfdir=/etc \ --with-rootlibdir=/lib \ + --disable-manpages \ --with-xz \ --with-zlib @@ -59,7 +60,7 @@ These options enable Kmod to handle compressed kernel modules. - + --with-rootlibdir=/lib @@ -87,10 +88,10 @@ make check - Install the package, 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: - + 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: make install @@ -98,7 +99,10 @@ for target in depmod insmod modinfo modprobe rmmod; do ln -sv ../bin/kmod /sbin/$target done -ln -sv kmod /bin/lsmod +ln -sv kmod /bin/lsmod + +cp -v man/*.5 /usr/share/man/man5 +cp -v man/*.8 /usr/share/man/man8