Update sed instructions for most recent tarball

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11168 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2017-01-09 01:27:45 +00:00
parent 734a887890
commit 6d1c29cb9a

View File

@ -40,25 +40,26 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Sed</title> <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> <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> <variablelist>
<title>The meaning of the new configure option:</title> <title>The meaning of the new configure option:</title>
<varlistentry> <varlistentry>
<term><parameter>--htmldir</parameter></term> <term><parameter>-i -htmldir</parameter></term>
<listitem> <listitem>
<para>This sets the installation directory for the HTML documentation.</para> <para>This sets the installation directory for the HTML documentation.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
-->
<para>Compile the package and generate the HTML documentation:</para> <para>Compile the package and generate the HTML documentation:</para>
<screen><userinput remap="make">make <screen><userinput remap="make">make
@ -70,7 +71,9 @@ make html</userinput></screen>
<para>Install the package and its documentation:</para> <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> </sect2>