Build Sed's HTML docs using a configure switch instead of editing the Makefiles ourselves

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7384 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2006-02-19 21:19:54 +00:00
parent ae9e48ba1f
commit 91cfd9d1df
2 changed files with 17 additions and 8 deletions

View File

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

View File

@ -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>
<screen><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
<para>Prepare Sed for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
<screen><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
<variablelist>
<title>The meaning of the new configure option:</title>
<varlistentry>
<term><parameter>--enable-html</parameter></term>
<listitem>
<para>This builds the HTML documentation.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>