diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/man-db.xml | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index d72f23eb5..52de24fee 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -41,26 +41,16 @@ <sect2 role="installation"> <title>Installation of Man-DB</title> - <para>Four adjustments need to be made to the sources of Man-DB.</para> + <para>Two adjustments need to be made to the sources of Man-DB.</para> - <para>The first one changes the location of translated manual pages that come - with Man-DB, in order for them to be accessible in both traditional and - UTF-8 locales:</para> - -<screen><userinput remap="pre">mv man/de{_DE.88591,} -mv man/es{_ES.88591,} -mv man/it{_IT.88591,} -mv man/ja{_JP.eucJP,} -sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen> - - <para>The second change is a <command>sed</command> substitution to delete + <para>The first change is a <command>sed</command> substitution to delete the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in the <filename>man_db.conf</filename> file to prevent redundant results when using programs such as <command>whatis</command>:</para> <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 + <para>The second change accounts for programs that Man-DB should be able to find at runtime, but that haven't been installed yet:</para> <screen><userinput remap="pre">cat >> include/manconfig.h.in << "EOF" @@ -79,11 +69,6 @@ EOF</userinput></screen> manual pages. They are not part of LFS or BLFS, but you should be able to install them yourself after finishing LFS if you wish to do so.</para> - <para>Finally, patch the sources to fix output errors if the man page is - prematurely aborted by pressing the 'q' key:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen> - <para>Prepare Man-DB for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen> |