From 583156ac09d7853d8aa050633c7a6dfd18c9eda0 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 8 Feb 2023 20:15:02 -0600 Subject: [PATCH] Combine tcl documentation instructions together. --- chapter08/tcl.xml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/chapter08/tcl.xml b/chapter08/tcl.xml index d1aec7f7f..5cf4e0d13 100644 --- a/chapter08/tcl.xml +++ b/chapter08/tcl.xml @@ -50,14 +50,6 @@ excessive, but it is very reassuring, if not essential, to know that the most important tools are working properly. - - - First, unpack the documentation by issuing the following command: - -tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1 - Prepare Tcl for compilation: SRCDIR=$(pwd) @@ -117,11 +109,13 @@ unset SRCDIR mv /usr/share/man/man3/{Thread,Tcl_Thread}.3 - If you downloaded the optional documentation, install it by issuing + Optionally, install the documentation by issuing the following commands: - mkdir -v -p /usr/share/doc/tcl-&tcl-version; -cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version; +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;