Author: matthew
Date: 2009-06-29 14:03:59 -0600 (Mon, 29 Jun 2009)
New Revision: 8954

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/sed.xml
Log:
Fix the generation of Sed's HTML documentation. Fixes #2422.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2009-06-29 20:03:14 UTC (rev 8953)
+++ trunk/BOOK/chapter01/changelog.xml  2009-06-29 20:03:59 UTC (rev 8954)
@@ -40,6 +40,11 @@
       <para>2009-06-29</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Fixed the generation of the HTML documentation for
+          Sed. Thanks to Chris Staub for the report and patch. Fixes
+          <ulink url="&lfs-ticket-root;2422">#2422</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Added upstream Readline patches. Fixes
           <ulink url="&lfs-ticket-root;2426">#2426</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/sed.xml
===================================================================
--- trunk/BOOK/chapter06/sed.xml        2009-06-29 20:03:14 UTC (rev 8953)
+++ trunk/BOOK/chapter06/sed.xml        2009-06-29 20:03:59 UTC (rev 8954)
@@ -42,15 +42,16 @@
 
     <para>Prepare Sed for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin 
--enable-html</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin 
--htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure option:</title>
 
       <varlistentry>
-        <term><parameter>--enable-html</parameter></term>
+        <term><parameter>--htmldir</parameter></term>
         <listitem>
-          <para>This builds the HTML documentation.</para>
+          <para>This sets the directory where the HTML documentation will be
+          installed to.</para>
         </listitem>
       </varlistentry>
     </variablelist>
@@ -59,6 +60,10 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
+    <para>Generate the HTML documentation:</para>
+
+<screen><userinput remap="make">make html</userinput></screen>
+
     <para>To test the results, issue:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
@@ -67,6 +72,10 @@
 
 <screen><userinput remap="install">make install</userinput></screen>
 
+    <para>Install the HTML documentation:</para>
+
+<screen><userinput remap="install">make -C doc 
install-html</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-sed" role="content">

-- 
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