aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/coreutils.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/coreutils.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/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>