Преглед на файлове

Fix the generation of Sed's HTML documentation. Fixes #2422.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8954 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess преди 16 години
родител
ревизия
94e6954548
променени са 2 файла, в които са добавени 17 реда и са изтрити 3 реда
  1. 5 0
      chapter01/changelog.xml
  2. 12 3
      chapter06/sed.xml

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <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>

+ 12 - 3
chapter06/sed.xml

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