r1193 - in trunk/BOOK: chroot/common final-system/common final-system/multilib introduction/common

chris at linuxfromscratch.org chris at linuxfromscratch.org
Tue Feb 21 20:23:11 PST 2006


Author: chris
Date: 2006-02-21 21:23:08 -0700 (Tue, 21 Feb 2006)
New Revision: 1193

Modified:
   trunk/BOOK/chroot/common/kernfs.xml
   trunk/BOOK/final-system/common/coreutils.xml
   trunk/BOOK/final-system/common/ncurses.xml
   trunk/BOOK/final-system/common/sed.xml
   trunk/BOOK/final-system/multilib/sed.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
Updated sed instructions to install HTML docs, and added a few more -v switches

Modified: trunk/BOOK/chroot/common/kernfs.xml
===================================================================
--- trunk/BOOK/chroot/common/kernfs.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/chroot/common/kernfs.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -30,7 +30,7 @@
   <para>Now mount the file systems:</para>
 
 <screen><userinput>mount -vt proc proc $LFS/proc
-mount -t sysfs sysfs $LFS/sys</userinput></screen>
+mount -vt sysfs sysfs $LFS/sys</userinput></screen>
 
   <para>Remember that if for any reason you stop working on the LFS system
   and start again later, it is important to check that these file systems

Modified: trunk/BOOK/final-system/common/coreutils.xml
===================================================================
--- trunk/BOOK/final-system/common/coreutils.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/final-system/common/coreutils.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -94,7 +94,7 @@
     class="directory">/usr</filename> may not be available during the early
     stages of booting, those binaries need to be on the root partition:</para>
 
-<screen os="u"><userinput>mv /usr/bin/{head,sleep} /bin</userinput></screen>
+<screen os="u"><userinput>mv -v /usr/bin/{head,sleep} /bin</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/final-system/common/ncurses.xml
===================================================================
--- trunk/BOOK/final-system/common/ncurses.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/final-system/common/ncurses.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -64,7 +64,7 @@
 
     <para os="l">Give the Ncurses libraries execute permissions:</para>
 
-<screen os="m"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
+<screen os="m"><userinput>chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/final-system/common/sed.xml
===================================================================
--- trunk/BOOK/final-system/common/sed.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/final-system/common/sed.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -33,27 +33,32 @@
   <sect2 role="installation">
     <title>Installation of Sed</title>
 
-    <para os="a">By default, Sed installs its HTML documentation in
-    <filename class="directory">/usr/share/doc</filename>. Alter this to
-    <filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
-    applying the following <command>sed</command>:</para>
+    <para os="a">Prepare Sed for compilation:</para>
 
-<screen os="b"><userinput>sed -i 's@/doc@&/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
 
-    <para os="c">Prepare Sed for compilation:</para>
+    <variablelist os="c">
+      <title>The meaning of the new configure option:</title>
 
-<screen os="d"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
+      <varlistentry>
+        <term><parameter>--enable-html</parameter></term>
+        <listitem>
+          <para>This option tells Sed to build and install its HTML
+          documentation.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
-    <para os="e">Compile the package:</para>
+    <para os="d">Compile the package:</para>
 
-<screen os="f"><userinput>make</userinput></screen>
+<screen os="e"><userinput>make</userinput></screen>
 
-    <para os="g">To test the results, issue:
+    <para os="f">To test the results, issue:
     <userinput>make check</userinput>.</para>
 
-    <para os="h">Install the package:</para>
+    <para os="g">Install the package:</para>
 
-<screen os="i"><userinput>make install</userinput></screen>
+<screen os="h"><userinput>make install</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/final-system/multilib/sed.xml
===================================================================
--- trunk/BOOK/final-system/multilib/sed.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/final-system/multilib/sed.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -25,17 +25,17 @@
     href="../common/sed.xml"
     xpointer="xpointer(//*[@os='a'])"/>
 
+<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+   --bindir=/bin --enable-html</userinput></screen>
+
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/sed.xml"
-    xpointer="xpointer(//*[@os='b'])"/>
+    xpointer="xpointer(//*[@os='c'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/sed.xml"
-    xpointer="xpointer(//*[@os='c'])"/>
+    xpointer="xpointer(//*[@os='d'])"/>
 
-<screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
-   --bindir=/bin</userinput></screen>
-
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/sed.xml"
     xpointer="xpointer(//*[@os='e'])"/>
@@ -52,10 +52,6 @@
     href="../common/sed.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/sed.xml"
-    xpointer="xpointer(//*[@os='i'])"/>
-
   </sect2>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-02-22 01:28:30 UTC (rev 1192)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-02-22 04:23:08 UTC (rev 1193)
@@ -48,6 +48,10 @@
         <listitem>
           <para>[jciccone] - Updated to Man-Pages 2.24</para>
         </listitem>
+        <listitem>
+          <para>[Chris] - Updated sed instructions to install its HTML
+          docs.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 




More information about the cross-lfs mailing list