aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/coreutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/coreutils.xml')
-rw-r--r--chapter05/coreutils.xml18
1 files changed, 10 insertions, 8 deletions
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml
index e52e60d85..8a35596a7 100644
--- a/chapter05/coreutils.xml
+++ b/chapter05/coreutils.xml
@@ -47,29 +47,31 @@
by Coreutils is incompatible with the version that current
Glibc provides, so we'll rename the function:</para>
-<screen><userinput>for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
+<screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
cp -v $file{,.orig}
sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
done</userinput></screen>
<para>Prepare Coreutils for compilation:</para>
-<screen><userinput>./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make</userinput></screen>
+<screen><userinput remap="make">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
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make RUN_EXPENSIVE_TESTS=yes check</userinput></screen>
+
+ <para>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>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>The above command refuses to install <filename>su</filename>
because it cannot install it setuid root as a non-privileged user. By
@@ -78,7 +80,7 @@ done</userinput></screen>
useful <command>su</command> from our host first place in our PATH. Install
it with:</para>
-<screen><userinput>cp -v src/su /tools/bin/su-tools</userinput></screen>
+<screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen>
</sect2>