Author: bdubbs
Date: Tue Feb 18 09:06:32 2014
New Revision: 10481

Log:
Really fix the kmod man page issue

Modified:
   trunk/BOOK/chapter06/kmod.xml

Modified: trunk/BOOK/chapter06/kmod.xml
==============================================================================
--- trunk/BOOK/chapter06/kmod.xml       Mon Feb 17 23:16:55 2014        (r10480)
+++ trunk/BOOK/chapter06/kmod.xml       Tue Feb 18 09:06:32 2014        (r10481)
@@ -47,6 +47,7 @@
             --bindir=/bin          \
             --sysconfdir=/etc      \
             --with-rootlibdir=/lib \
+            --disable-manpages     \
             --with-xz              \
             --with-zlib</userinput></screen>
 
@@ -59,7 +60,7 @@
           <para>These options enable Kmod to handle compressed kernel 
modules.</para>
         </listitem>
       </varlistentry>
-<!--
+
       <varlistentry>
         <term><parameter>- -disable-manpages</parameter></term>
         <listitem>
@@ -68,7 +69,7 @@
           environment.</para>
         </listitem>
       </varlistentry>
--->
+
       <varlistentry>
         <term><parameter>--with-rootlibdir=/lib</parameter></term>
         <listitem>
@@ -87,10 +88,10 @@
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>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:
-    </para>
+    <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>
 
 <screen><userinput remap="install">make install
 
@@ -98,7 +99,10 @@
   ln -sv ../bin/kmod /sbin/$target
 done
 
-ln -sv kmod /bin/lsmod</userinput></screen>
+ln -sv kmod /bin/lsmod
+
+cp -v man/*.5 /usr/share/man/man5
+cp -v man/*.8 /usr/share/man/man8</userinput></screen>
 
   </sect2>
 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to