Author: matthew
Date: 2006-02-19 14:19:54 -0700 (Sun, 19 Feb 2006)
New Revision: 7384
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/sed.xml
Log:
Build Sed's HTML docs using a configure switch instead of editing the Makefiles
ourselves
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2006-02-19 21:00:50 UTC (rev 7383)
+++ trunk/BOOK/chapter01/changelog.xml 2006-02-19 21:19:54 UTC (rev 7384)
@@ -40,6 +40,11 @@
<para>Febraury 19, 2006</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Install Sed's HTML documentation by using
+ --enable-html instead of editing the Makefile. Thanks to Greg
Schafer
+ for the report and the fix.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Add upstream fixes 001-002 for Readline.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/chapter06/sed.xml
===================================================================
--- trunk/BOOK/chapter06/sed.xml 2006-02-19 21:00:50 UTC (rev 7383)
+++ trunk/BOOK/chapter06/sed.xml 2006-02-19 21:19:54 UTC (rev 7384)
@@ -43,16 +43,20 @@
<sect2 role="installation">
<title>Installation of Sed</title>
- <para>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>Prepare Sed for compilation:</para>
-<screen><userinput>sed -i 's@/doc@&/sed-&sed-version;@'
doc/Makefile.in</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --bindir=/bin
--enable-html</userinput></screen>
- <para>Prepare Sed for compilation:</para>
+ <variablelist>
+ <title>The meaning of the new configure option:</title>
-<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
+ <varlistentry>
+ <term><parameter>--enable-html</parameter></term>
+ <listitem>
+ <para>This builds the HTML documentation.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page