Changeset 7c63c926 for BOOK/final-system


Ignore:
Timestamp:
Feb 21, 2006, 2:19:49 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
de4db44
Parents:
614f4d2
Message:

r1123@server (orig r1121): chris | 2006-02-01 00:33:35 -0800
Added a fix for a problem with makewhatis

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/man.xml

    r614f4d2 r7c63c926  
    3737    <para os="a">A few adjustments need to be made to the sources of Man.</para>
    3838
    39     <para os="b">This a <command>sed</command> substitution to add the
    40     <option>-R</option> switch to the <envar>PAGER</envar> variable so
    41     that escape sequences are properly handled by Less:</para>
     39    <para os="b">First, a <command>sed</command> substitution is
     40    needed to add the <option>-R</option> switch to the
     41    <envar>PAGER</envar> variable so that escape sequences are
     42    properly handled by Less:</para>
    4243
    4344<screen os="c"><userinput>sed -i 's@-is@&amp;R@g' configure</userinput></screen>
    4445
    45     <para os="d">This a <command>sed</command> substitution to comment out the
     46    <para os="d">Another <command>sed</command> substitution comments out the
    4647    <quote>MANPATH /usr/man</quote> line in the <filename>man.conf</filename>
    4748    file to prevent redundant results when using programs such as
     
    5051<screen os="e"><userinput>sed -i 's@MANPATH./usr/man@#&amp;@g' src/man.conf.in</userinput></screen>
    5152
    52     <para os="f">Prepare Man for compilation:</para>
    53 
    54 <screen os="g"><userinput>./configure -confdir=/etc</userinput></screen>
    55 
    56     <variablelist os="h">
     53    <para os="f">Finally, correct a syntax error in the
     54    <command>makewhatis</command> script:</para>
     55
     56<screen os="g"><userinput>sed -i 's/)) |/) |/' src/makewhatis.sh</userinput></screen>
     57
     58    <para os="h">Prepare Man for compilation:</para>
     59
     60<screen os="i"><userinput>./configure -confdir=/etc</userinput></screen>
     61
     62    <variablelist os="j">
    5763      <title>The meaning of the configure options:</title>
    5864
     
    6773    </variablelist>
    6874
    69     <para os="i">Compile the package:</para>
    70 
    71 <screen os="j"><userinput>make</userinput></screen>
    72 
    73     <para os="k">Install the package:</para>
    74 
    75 <screen os="l"><userinput>make install</userinput></screen>
    76 
    77     <note os="m">
     75    <para os="k">Compile the package:</para>
     76
     77<screen os="l"><userinput>make</userinput></screen>
     78
     79    <para os="m">Install the package:</para>
     80
     81<screen os="n"><userinput>make install</userinput></screen>
     82
     83    <note os="o">
    7884      <para>If you will be working on a terminal that does not support
    7985      text attributes such as color and bold, you can disable Select
     
    8692    </note>
    8793
    88     <para os="n">If the character set of the locale uses 8-bit characters, search
     94    <para os="p">If the character set of the locale uses 8-bit characters, search
    8995    for the line beginning with <quote>NROFF</quote> in
    9096    <filename>/etc/man.conf</filename>, and verify that it matches the
    9197    following:</para>
    9298
    93 <screen os="o">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
    94 
    95     <para os="p">Note that <quote>latin1</quote> should be used even if it is not
     99<screen os="q">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
     100
     101    <para os="r">Note that <quote>latin1</quote> should be used even if it is not
    96102    the character set of the locale. The reason is that, according to the
    97103    specification, <command>groff</command> has no means of typesetting
     
    105111    it is usable as the input for a pager.</para>
    106112
    107     <para os="q">This does not solve the problem of a non-working
     113    <para os="s">This does not solve the problem of a non-working
    108114    <command>man2dvi</command> program for localized man pages in
    109115    non-ISO 8859-1 locales. Also, it does not work with multibyte
     
    112118    not support multibyte character sets.</para>
    113119
    114     <para os="r">Additional information with regards to the compression of
     120    <para os="t">Additional information with regards to the compression of
    115121    man and info pages can be found in the BLFS book at
    116122    <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para>
  • BOOK/final-system/multilib/man.xml

    r614f4d2 r7c63c926  
    4646    xpointer="xpointer(//*[@os='f'])"/>
    4747
    48 <screen os="g"><userinput>CC="gcc ${BUILD64}" ./configure -confdir=/etc</userinput></screen>
     48    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     49    href="../common/man.xml"
     50    xpointer="xpointer(//*[@os='g'])"/>
    4951
    5052    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5254    xpointer="xpointer(//*[@os='h'])"/>
    5355
    54     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    55     href="../common/man.xml"
    56     xpointer="xpointer(//*[@os='i'])"/>
     56<screen os="i"><userinput>CC="gcc ${BUILD64}" ./configure -confdir=/etc</userinput></screen>
    5757
    5858    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9292    xpointer="xpointer(//*[@os='r'])"/>
    9393
     94    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     95    href="../common/man.xml"
     96    xpointer="xpointer(//*[@os='s'])"/>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     99    href="../common/man.xml"
     100    xpointer="xpointer(//*[@os='t'])"/>
     101
    94102  </sect2>
    95103
Note: See TracChangeset for help on using the changeset viewer.