aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readline.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 /chapter06/readline.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 'chapter06/readline.xml')
-rw-r--r--chapter06/readline.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 4ccc9e3e0..48174821b 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -46,7 +46,7 @@
it can trigger a linking bug in <command>ldconfig</command>. This can be
avoided by issuing the following two seds:</para>
-<screen><userinput>sed -i '/MV.*old/d' Makefile.in
+<screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<para>Readline contains a bug in its handling of non-multibyte characters,
@@ -54,15 +54,15 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
Fix this issue by applying the following patch from the upstream maintainer:
</para>
-<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
<para>Prepare Readline for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make SHLIB_LIBS=-lncurses</userinput></screen>
+<screen><userinput remap="make">make SHLIB_LIBS=-lncurses</userinput></screen>
<variablelist>
<title>The meaning of the make option:</title>
@@ -82,17 +82,17 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>Now move the static libraries to a more appropriate location:</para>
-<screen><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
+<screen><userinput remap="install">mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
<para>Next, remove the <filename class="extension">.so</filename> files in
<filename class="directory">/lib</filename> and relink them into <filename
class="directory">/usr/lib</filename>:</para>
-<screen><userinput>rm -v /lib/lib{readline,history}.so
+<screen><userinput remap="install">rm -v /lib/lib{readline,history}.so
ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>