|
@@ -43,16 +43,20 @@
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
<title>Installation of Sed</title>
|
|
<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@&/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>
|
|
<para>Compile the package:</para>
|
|
|
|
|