aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/sed.xml')
-rw-r--r--chapter06/sed.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/chapter06/sed.xml b/chapter06/sed.xml
index ce5a9ff75..d95e74858 100644
--- a/chapter06/sed.xml
+++ b/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">