aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/expect.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
commit0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch)
tree0a498ecf0a0714891f5c4576bc508558268283a8 /chapter05/expect.xml
parenta7a02386b4c83ed74790c1918c80f1fffc3af472 (diff)
Added remap attributes to userinput tags in packages pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/expect.xml')
-rw-r--r--chapter05/expect.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/chapter05/expect.xml b/chapter05/expect.xml
index 53b732a46..6b486f138 100644
--- a/chapter05/expect.xml
+++ b/chapter05/expect.xml
@@ -44,19 +44,19 @@
<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>
+<screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
<para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system.
This will ensure that our testsuite tools remain sane for the final builds of our
toolchain:</para>
-<screen><userinput>cp configure{,.bak}
+<screen><userinput remap="pre">cp configure{,.bak}
sed 's:/usr/local/bin:/bin:' configure.bak &gt; configure</userinput></screen>
<para>Now prepare Expect for compilation:</para>
-<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
+<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
--with-tclinclude=/tools/include --with-x=no</userinput></screen>
<variablelist>
@@ -95,17 +95,20 @@ sed 's:/usr/local/bin:/bin:' configure.bak &gt; configure</userinput></screen>
<para>Build the package:</para>
-<screen><userinput>make</userinput></screen>
+<screen><userinput remap="make">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
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make test</userinput></screen>
+
+ <para>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>
-<screen><userinput>make SCRIPTS="" install</userinput></screen>
+<screen><userinput remap="install">make SCRIPTS="" install</userinput></screen>
<variablelist>
<title>The meaning of the make parameter:</title>