|
@@ -40,25 +40,26 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Sed</title>
|
|
|
|
|
|
- <para>First fix an issue in the LFS envronment:</para>
|
|
|
+ <para>First fix an issue in the LFS envronment and remove a failing test:</para>
|
|
|
|
|
|
-<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man</userinput></screen>
|
|
|
+<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man
|
|
|
+sed -i 's/panic-tests.sh//' Makefile.in</userinput></screen>
|
|
|
|
|
|
<para>Prepare Sed for compilation:</para>
|
|
|
|
|
|
-<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
|
|
|
-
|
|
|
+<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
|
|
+<!--
|
|
|
<variablelist>
|
|
|
<title>The meaning of the new configure option:</title>
|
|
|
|
|
|
<varlistentry>
|
|
|
- <term><parameter>--htmldir</parameter></term>
|
|
|
+ <term><parameter>-i -htmldir</parameter></term>
|
|
|
<listitem>
|
|
|
<para>This sets the installation directory for the HTML documentation.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
</variablelist>
|
|
|
-
|
|
|
+-->
|
|
|
<para>Compile the package and generate the HTML documentation:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make
|
|
@@ -70,7 +71,9 @@ make html</userinput></screen>
|
|
|
|
|
|
<para>Install the package and its documentation:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">make install</userinput></screen>
|
|
|
+<screen><userinput remap="install">make install
|
|
|
+install -d -m755 /usr/share/doc/sed-&sed-version;
|
|
|
+install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
|
|
|
|
|
|
</sect2>
|
|
|
|