diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-01-17 20:43:10 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-01-17 20:43:10 +0000 |
commit | 09fb7a09f1b6fc54c50658de94834b283d3e86fd (patch) | |
tree | 06722308a1a9b3b77444a5bd7bf3cff2a978effd /chapter05 | |
parent | 81109e3ece86defd366a946970cdcdebee8d09f3 (diff) |
Indenting chapter 05, part 2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7281 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/coreutils.xml | 80 | ||||
-rw-r--r-- | chapter05/dejagnu.xml | 108 | ||||
-rw-r--r-- | chapter05/diffutils.xml | 70 | ||||
-rw-r--r-- | chapter05/expect.xml | 243 | ||||
-rw-r--r-- | chapter05/findutils.xml | 71 | ||||
-rw-r--r-- | chapter05/flex.xml | 84 | ||||
-rw-r--r-- | chapter05/gawk.xml | 80 |
7 files changed, 439 insertions, 297 deletions
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml index 062afa1dc..45eba0073 100644 --- a/chapter05/coreutils.xml +++ b/chapter05/coreutils.xml @@ -1,57 +1,73 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-coreutils" role="wrap"> -<title>Coreutils-&coreutils-version;</title> -<?dbhtml filename="coreutils.html"?> + <?dbhtml filename="coreutils.html"?> + + <title>Coreutils-&coreutils-version;</title> + + <indexterm zone="ch-tools-coreutils"> + <primary sortas="a-Coreutils">Coreutils</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-coreutils"> -<primary sortas="a-Coreutils">Coreutils</primary> -<secondary>tools</secondary></indexterm> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/coreutils.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.9 SBU</seg><seg>53.3 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.9 SBU</seg> + <seg>53.3 MB</seg> + </seglistitem> + </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/coreutils.xml" + xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> -</sect2> + </sect2> -<sect2 role="installation"> -<title>Installation of Coreutils</title> + <sect2 role="installation"> + <title>Installation of Coreutils</title> -<para>Prepare Coreutils for compilation:</para> + <para>Prepare Coreutils for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>To test the results, issue: -<userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The -<parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the -test suite to run several additional tests that are considered -relatively expensive (in terms of CPU power and memory usage) on some -platforms, but generally are not a problem on Linux.</para> + <para>To test the results, issue: + <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The + <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the + test suite to run several additional tests that are considered + relatively expensive (in terms of CPU power and memory usage) on some + platforms, but generally are not a problem on Linux.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -</sect2> + </sect2> -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-coreutils" role="."/></para> -</sect2> + <sect2 role="content"> + <title/> -</sect1> + <para>Details on this package are located in + <xref linkend="contents-coreutils" role="."/></para> + + </sect2> +</sect1> diff --git a/chapter05/dejagnu.xml b/chapter05/dejagnu.xml index b185c3365..06957da9f 100644 --- a/chapter05/dejagnu.xml +++ b/chapter05/dejagnu.xml @@ -1,68 +1,92 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-dejagnu" role="wrap"> -<title>DejaGNU-&dejagnu-version;</title> -<?dbhtml filename="dejagnu.html"?> + <?dbhtml filename="dejagnu.html"?> + + <title>DejaGNU-&dejagnu-version;</title> + + <indexterm zone="ch-tools-dejagnu"> + <primary sortas="a-DejaGNU">DejaGNU</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The DejaGNU package contains a framework for testing other + programs.</para> -<indexterm zone="ch-tools-dejagnu"><primary sortas="a-DejaGNU">DejaGNU</primary></indexterm> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<sect2 role="package"><title/> -<para>The DejaGNU package contains a framework for testing other programs.</para> + <seglistitem> + <seg>0.1 SBU</seg> + <seg>6.1 MB</seg> + </seglistitem> + </segmentedlist> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>6.1 MB</seg></seglistitem> -</segmentedlist> + <segmentedlist> + <segtitle>&dependencies;</segtitle> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, -GCC, Glibc, Grep, Make, and Sed</seg></seglistitem> -</segmentedlist> -</sect2> + <seglistitem> + <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, + Make, and Sed</seg> + </seglistitem> + </segmentedlist> -<sect2 role="installation"> -<title>Installation of DejaGNU</title> + </sect2> -<para>Prepare DejaGNU for compilation:</para> + <sect2 role="installation"> + <title>Installation of DejaGNU</title> + + <para>Prepare DejaGNU for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Build and install the package:</para> + <para>Build and install the package:</para> <screen><userinput>make install</userinput></screen> -<para>To test the results, issue: <userinput>make check</userinput>.</para> + <para>To test the results, issue: + <userinput>make check</userinput>.</para> -</sect2> + </sect2> -<sect2 id="contents-dejagnu" role="content"><title>Contents of DejaGNU</title> + <sect2 id="contents-dejagnu" role="content"> + <title>Contents of DejaGNU</title> -<segmentedlist> -<segtitle>Installed program</segtitle> -<seglistitem><seg>runtest</seg></seglistitem> -</segmentedlist> + <segmentedlist> + <segtitle>Installed program</segtitle> -<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> -<?dbhtml list-presentation="table"?> + <seglistitem> + <seg>runtest</seg> + </seglistitem> + </segmentedlist> -<varlistentry id="runtest"> -<term><command>runtest</command></term> -<listitem> -<para>A wrapper script that locates the proper -<command>expect</command> shell and then runs DejaGNU</para> -<indexterm zone="ch-tools-dejagnu runtest"><primary sortas="b-runtest">runtest</primary></indexterm> -</listitem> -</varlistentry> -</variablelist> + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> -</sect2> + <varlistentry id="runtest"> + <term><command>runtest</command></term> + <listitem> + <para>A wrapper script that locates the proper + <command>expect</command> shell and then runs DejaGNU</para> + <indexterm zone="ch-tools-dejagnu runtest"> + <primary sortas="b-runtest">runtest</primary> + </indexterm> + </listitem> + </varlistentry> -</sect1> + </variablelist> + </sect2> + +</sect1> diff --git a/chapter05/diffutils.xml b/chapter05/diffutils.xml index d20c51afc..a0ef9c878 100644 --- a/chapter05/diffutils.xml +++ b/chapter05/diffutils.xml @@ -1,52 +1,68 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-diffutils" role="wrap"> -<title>Diffutils-&diffutils-version;</title> -<?dbhtml filename="diffutils.html"?> + <?dbhtml filename="diffutils.html"?> + + <title>Diffutils-&diffutils-version;</title> + + <indexterm zone="ch-tools-diffutils"> + <primary sortas="a-Diffutils">Diffutils</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-diffutils"> -<primary sortas="a-Diffutils">Diffutils</primary> -<secondary>tools</secondary></indexterm> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/diffutils.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>5.6 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.1 SBU</seg> + <seg>5.6 MB</seg> + </seglistitem> + </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/diffutils.xml" + xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> -</sect2> + </sect2> -<sect2 role="installation"> -<title>Installation of Diffutils</title> + <sect2 role="installation"> + <title>Installation of Diffutils</title> -<para>Prepare Diffutils for compilation:</para> + <para>Prepare Diffutils for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>This package does not come with a test suite.</para> + <para>This package does not come with a test suite.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -</sect2> + </sect2> -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-diffutils" role="."/></para> -</sect2> + <sect2 role="content"> + <title/> -</sect1> + <para>Details on this package are located in + <xref linkend="contents-diffutils" role="."/></para> + + </sect2> +</sect1> diff --git a/chapter05/expect.xml b/chapter05/expect.xml index 32662380c..49a53b6b7 100644 --- a/chapter05/expect.xml +++ b/chapter05/expect.xml @@ -1,129 +1,164 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-expect" role="wrap"> -<title>Expect-&expect-version;</title> -<?dbhtml filename="expect.html"?> + <?dbhtml filename="expect.html"?> + + <title>Expect-&expect-version;</title> + + <indexterm zone="ch-tools-expect"> + <primary sortas="a-Expect">Expect</primary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm> + <para>The Expect package contains a program for carrying out scripted + dialogues with other interactive programs.</para> -<sect2 role="package"><title/> -<para>The Expect package contains a program for carrying out scripted dialogues -with other interactive programs.</para> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>4.0 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.1 SBU</seg> + <seg>4.0 MB</seg> + </seglistitem> + </segmentedlist> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, -GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem> -</segmentedlist> -</sect2> + <segmentedlist> + <segtitle>&dependencies;</segtitle> -<sect2 role="installation"> -<title>Installation of Expect</title> + <seglistitem> + <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, + Sed, and Tcl</seg> + </seglistitem> + </segmentedlist> -<para>First, fix a bug that can result in false failures during the GCC test -suite run:</para> + </sect2> + + <sect2 role="installation"> + <title>Installation of Expect</title> + + <para>First, fix a bug that can result in false failures during the GCC test + suite run:</para> <screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen> -<para>Now prepare Expect for compilation:</para> + <para>Now prepare Expect for compilation:</para> <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \ - --with-tclinclude=/tools/include --with-x=no</userinput></screen> - -<para>The meaning of the configure options:</para> - -<variablelist> -<varlistentry> -<term><parameter>--with-tcl=/tools/lib</parameter></term> -<listitem><para>This ensures that the configure script finds the Tcl installation in -the temporary tools location instead of possibly locating an existing -one on the host system.</para></listitem> -</varlistentry> - -<varlistentry> -<term><parameter>--with-tclinclude=/tools/include</parameter></term> -<listitem><para>This explicitly tells Expect where to find Tcl's internal headers. -Using this option avoids conditions where <command>configure</command> fails because -it cannot automatically discover the location of Tcl's headers.</para></listitem> -</varlistentry> - -<varlistentry> -<term><parameter>--with-x=no</parameter></term> -<listitem><para>This tells the configure script not to search for Tk -(the Tcl GUI component) or the X Window System libraries, both of -which may reside on the host system but will not exist in the temporary -environment.</para></listitem> -</varlistentry> -</variablelist> - -<para>Build the package:</para> + --with-tclinclude=/tools/include --with-x=no</userinput></screen> + + <variablelist> + <title>The meaning of the configure options:</title> + + <varlistentry> + <term><parameter>--with-tcl=/tools/lib</parameter></term> + <listitem> + <para>This ensures that the configure script finds the Tcl + installation in the temporary tools location instead of possibly + locating an existing one on the host system.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>--with-tclinclude=/tools/include</parameter></term> + <listitem> + <para>This explicitly tells Expect where to find Tcl's internal + headers. Using this option avoids conditions where + <command>configure</command> fails because it cannot automatically + discover the location of Tcl's headers.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>--with-x=no</parameter></term> + <listitem> + <para>This tells the configure script not to search for Tk (the + Tcl GUI component) or the X Window System libraries, both of which + may reside on the host system but will not exist in the temporary + environment.</para> + </listitem> + </varlistentry> + + </variablelist> + + <para>Build the package:</para> <screen><userinput>make</userinput></screen> -<para>To test the results, issue: <userinput>make test</userinput>. -Note that the Expect test suite is known to experience failures under -certain host conditions that are not within our control. Therefore, -test suite failures here are not surprising and are not considered -critical.</para> + <para>To test the results, issue: <userinput>make test</userinput>. + Note that the Expect test suite is known to experience failures under + certain host conditions that are not within our control. Therefore, + test suite failures here are not surprising and are not considered + critical.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make SCRIPTS="" install</userinput></screen> -<para>The meaning of the make parameter:</para> - -<variablelist> -<varlistentry> -<term><parameter>SCRIPTS=""</parameter></term> -<listitem><para>This prevents installation of the supplementary expect -scripts, which are not needed.</para></listitem> -</varlistentry> -</variablelist> - -</sect2> - -<sect2 id="contents-expect" role="content"><title>Contents of Expect</title> - -<segmentedlist> -<segtitle>Installed program</segtitle> -<segtitle>Installed library</segtitle> -<seglistitem><seg>expect</seg><seg>libexpect-&expect-lib-version;.a</seg></seglistitem> -</segmentedlist> - -<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> -<?dbhtml list-presentation="table"?> - -<varlistentry id="expect"> -<term><command>expect</command></term> -<listitem> -<para>Communicates with other interactive -programs according to a script</para> -<indexterm zone="ch-tools-expect expect"><primary sortas="b-expect">expect</primary></indexterm> -</listitem> -</varlistentry> - -<varlistentry id="libexpect"> -<term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term> -<listitem> -<para>Contains functions that allow Expect to be used as a Tcl extension or to -be used directly from C or C++ (without Tcl)</para> -<indexterm zone="ch-tools-expect libexpect"><primary -sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary></indexterm> -</listitem> -</varlistentry> -</variablelist> - -</sect2> + <variablelist> + <title>The meaning of the make parameter:</title> + + <varlistentry> + <term><parameter>SCRIPTS=""</parameter></term> + <listitem> + <para>This prevents installation of the supplementary Expect + scripts, which are not needed.</para> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + + <sect2 id="contents-expect" role="content"> + <title>Contents of Expect</title> + + <segmentedlist> + <segtitle>Installed program</segtitle> + <segtitle>Installed library</segtitle> + + <seglistitem> + <seg>expect</seg> + <seg>libexpect-&expect-lib-version;.a</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="expect"> + <term><command>expect</command></term> + <listitem> + <para>Communicates with other interactive programs according + to a script</para> + <indexterm zone="ch-tools-expect expect"> + <primary sortas="b-expect">expect</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="libexpect"> + <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term> + <listitem> + <para>Contains functions that allow Expect to be used as a Tcl + extension or to be used directly from C or C++ (without Tcl)</para> + <indexterm zone="ch-tools-expect libexpect"> + <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> </sect1> - diff --git a/chapter05/findutils.xml b/chapter05/findutils.xml index b360e759e..a5812aa19 100644 --- a/chapter05/findutils.xml +++ b/chapter05/findutils.xml @@ -1,52 +1,69 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-findutils" role="wrap"> -<title>Findutils-&findutils-version;</title> -<?dbhtml filename="findutils.html"?> + <?dbhtml filename="findutils.html"?> + + <title>Findutils-&findutils-version;</title> + + <indexterm zone="ch-tools-findutils"> + <primary sortas="a-Findutils">Findutils</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-findutils"> -<primary sortas="a-Findutils">Findutils</primary> -<secondary>tools</secondary></indexterm> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/findutils.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.2 SBU</seg><seg>8.9 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.2 SBU</seg> + <seg>8.9 MB</seg> + </seglistitem> + </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/findutils.xml" + xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> -</sect2> + </sect2> -<sect2 role="installation"> -<title>Installation of Findutils</title> + <sect2 role="installation"> + <title>Installation of Findutils</title> -<para>Prepare Findutils for compilation:</para> + <para>Prepare Findutils for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>To test the results, issue: <userinput>make check</userinput>.</para> + <para>To test the results, issue: + <userinput>make check</userinput>.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -</sect2> + </sect2> -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-findutils" role="."/></para> -</sect2> + <sect2 role="content"> + <title/> -</sect1> + <para>Details on this package are located in + <xref linkend="contents-findutils" role="."/></para> + + </sect2> +</sect1> diff --git a/chapter05/flex.xml b/chapter05/flex.xml index d5813dfa2..8dc7eba5a 100644 --- a/chapter05/flex.xml +++ b/chapter05/flex.xml @@ -1,65 +1,81 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-flex" role="wrap"> -<title>Flex-&flex-version;</title> -<?dbhtml filename="flex.html"?> + <?dbhtml filename="flex.html"?> + + <title>Flex-&flex-version;</title> + + <indexterm zone="ch-tools-flex"> + <primary sortas="a-Flex">Flex</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-flex"> -<primary sortas="a-Flex">Flex</primary> -<secondary>tools</secondary></indexterm> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/flex.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.6 SBU</seg><seg>22.5 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.6 SBU</seg> + <seg>22.5 MB</seg> + </seglistitem> + </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/flex.xml" + xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> -</sect2> + </sect2> -<sect2 role="installation"> -<title>Installation of Flex</title> + <sect2 role="installation"> + <title>Installation of Flex</title> -<para>Flex contains several known bugs. These can be fixed with the -following patch:</para> + <para>Flex contains several known bugs. These can be fixed with the + following patch:</para> <screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> -<para>The GNU autotools will detect that the Flex source code has been -modified by the previous patch and tries to update the man page -accordingly. This does not work on many systems, and the default page is -fine, so make sure it does not get regenerated:</para> + <para>The GNU autotools will detect that the Flex source code has been + modified by the previous patch and tries to update the man page + accordingly. This does not work on many systems, and the default page is + fine, so make sure it does not get regenerated:</para> <screen><userinput>touch doc/flex.1</userinput></screen> -<para>Now prepare Flex for compilation:</para> + <para>Now prepare Flex for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>To test the results, issue: -<userinput>make check</userinput>.</para> + <para>To test the results, issue: + <userinput>make check</userinput>.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -</sect2> + </sect2> -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-flex" role="."/></para> -</sect2> + <sect2 role="content"> + <title/> -</sect1> + <para>Details on this package are located in + <xref linkend="contents-flex" role="."/></para> + + </sect2> +</sect1> diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml index cca7101fc..fce5b6732 100644 --- a/chapter05/gawk.xml +++ b/chapter05/gawk.xml @@ -1,61 +1,79 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-tools-gawk" role="wrap"> -<title>Gawk-&gawk-version;</title> -<?dbhtml filename="gawk.html"?> + <?dbhtml filename="gawk.html"?> + + <title>Gawk-&gawk-version;</title> + + <indexterm zone="ch-tools-gawk"> + <primary sortas="a-Gawk">Gawk</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> -<indexterm zone="ch-tools-gawk"> -<primary sortas="a-Gawk">Gawk</primary> -<secondary>tools</secondary></indexterm> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/gawk.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.2 SBU</seg> + <seg>16.4 MB</seg> + </seglistitem> + </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/gawk.xml" + xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> -</sect2> + </sect2> -<sect2 role="installation"> -<title>Installation of Gawk</title> + <sect2 role="installation"> + <title>Installation of Gawk</title> -<para>Prepare Gawk for compilation:</para> + <para>Prepare Gawk for compilation:</para> <screen><userinput>./configure --prefix=/tools</userinput></screen> -<para>Due to a bug in the <command>configure</command> script, Gawk fails -to detect certain aspects of locale support in Glibc. This -bug leads to, e.g., Gettext testsuite failures. Work around this issue -by appending the missing macro definitions to <filename>config.h</filename>:</para> + <para>Due to a bug in the <command>configure</command> script, Gawk fails + to detect certain aspects of locale support in Glibc. This bug leads to, + e.g., Gettext testsuite failures. Work around this issue by appending the + missing macro definitions to <filename>config.h</filename>:</para> + <screen><userinput>cat >>config.h <<"EOF" <literal>#define HAVE_LANGINFO_CODESET 1 #define HAVE_LC_MESSAGES 1</literal> EOF</userinput></screen> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>To test the results, issue: <userinput>make check</userinput>.</para> + <para>To test the results, issue: + <userinput>make check</userinput>.</para> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -</sect2> + </sect2> -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-gawk" role="."/></para> -</sect2> + <sect2 role="content"> + <title/> -</sect1> + <para>Details on this package are located in + <xref linkend="contents-gawk" role="."/></para> + </sect2> + +</sect1> |