Combine tcl documentation instructions together.

This commit is contained in:
Bruce Dubbs 2023-02-08 20:15:02 -06:00
parent ce536f9c9c
commit 583156ac09

View File

@ -50,14 +50,6 @@
excessive, but it is very reassuring, if not essential, to know that the
most important tools are working properly.</para>
<!-- <para>Note that the Tcl package used here is a minimal version needed
to run the LFS tests. For the full package, see the
<ulink url='&blfs-book;general/tcl.html'>BLFS Tcl procedures</ulink>.</para>-->
<para>First, unpack the documentation by issuing the following command:</para>
<screen><userinput remap="pre">tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen>
<para>Prepare Tcl for compilation:</para>
<screen><userinput remap="configure">SRCDIR=$(pwd)
@ -117,11 +109,13 @@ unset SRCDIR</userinput></screen>
<screen><userinput remap="install">mv /usr/share/man/man3/{Thread,Tcl_Thread}.3</userinput></screen>
<para>If you downloaded the optional documentation, install it by issuing
<para>Optionally, install the documentation by issuing
the following commands:</para>
<screen><userinput remap="install">mkdir -v -p /usr/share/doc/tcl-&tcl-version;
cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
<screen><userinput remap="install">cd ..
tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1
mkdir -v -p /usr/share/doc/tcl-&tcl-version;
cp -v -r ./html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
</sect2>