aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-db.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/man-db.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/man-db.xml')
-rw-r--r--chapter06/man-db.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index bfeb04035..d72f23eb5 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -47,7 +47,7 @@
with Man-DB, in order for them to be accessible in both traditional and
UTF-8 locales:</para>
-<screen><userinput>mv man/de{_DE.88591,}
+<screen><userinput remap="pre">mv man/de{_DE.88591,}
mv man/es{_ES.88591,}
mv man/it{_IT.88591,}
mv man/ja{_JP.eucJP,}
@@ -58,12 +58,12 @@ sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen>
the <filename>man_db.conf</filename> file to prevent redundant results
when using programs such as <command>whatis</command>:</para>
-<screen><userinput>sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen>
+<screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen>
<para>The third change accounts for programs that Man-DB should be able
to find at runtime, but that haven't been installed yet:</para>
-<screen><userinput>cat &gt;&gt; include/manconfig.h.in &lt;&lt; "EOF"
+<screen><userinput remap="pre">cat &gt;&gt; include/manconfig.h.in &lt;&lt; "EOF"
<literal>#define WEB_BROWSER "exec /usr/bin/lynx"
#define COL "/usr/bin/col"
#define VGRIND "/usr/bin/vgrind"
@@ -82,11 +82,11 @@ EOF</userinput></screen>
<para>Finally, patch the sources to fix output errors if the man page is
prematurely aborted by pressing the 'q' key:</para>
-<screen><userinput>patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen>
<para>Prepare Man-DB for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -112,13 +112,13 @@ EOF</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make</userinput></screen>
+<screen><userinput remap="make">make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>Some packages provide UTF-8 man pages which this version of
<command>man</command> is unable to display. The following script will
@@ -130,7 +130,7 @@ EOF</userinput></screen>
during the system build, for public data, we will not bother with error
checking, nor use a non-predictable temporary file name:</para>
-<screen><userinput>cat &gt;&gt; convert-mans &lt;&lt; "EOF"
+<screen><userinput remap="install">cat &gt;&gt; convert-mans &lt;&lt; "EOF"
<literal>#!/bin/sh -e
FROM="$1"
TO="$2"