aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2006-02-19 21:19:54 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2006-02-19 21:19:54 +0000
commit91cfd9d1df64df13abf0cbcf4a6fb3c365b717d2 (patch)
treeeb358264c809630d02a0e54b84acdace8d3c4381 /chapter06
parentae9e48ba1fda5edeffc12e3b65024f94dda8f0b9 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/sed.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/chapter06/sed.xml b/chapter06/sed.xml
index f115a1ee5..02c182297 100644
--- a/chapter06/sed.xml
+++ b/chapter06/sed.xml
@@ -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@&amp;/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>