mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
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:
parent
734a887890
commit
6d1c29cb9a
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user