Changeset 755607e3


Ignore:
Timestamp:
04/09/2024 10:16:20 AM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
7745258b
Parents:
8a280fb6
git-author:
Xi Ruoyao <xry111@…> (04/09/2024 10:14:18 AM)
git-committer:
Xi Ruoyao <xry111@…> (04/09/2024 10:16:20 AM)
Message:

Kick MANPATH out of the book

The man program automatically deduce a good default from PATH, thus no
need to set MANPATH as long as the corresponding PATH component is
added.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general/prog/ojdk-conf.xml

    r8a280fb6 r755607e3  
    3131# Adjust PATH
    3232pathappend $JAVA_HOME/bin
    33 
    34 # Add to MANPATH
    35 pathappend $JAVA_HOME/man MANPATH
    3633
    3734# Auto Java CLASSPATH: Copy jar files to, or create symlinks in, the
  • general/prog/rust.xml

    r8a280fb6 r755607e3  
    597597pathprepend /opt/rustc/bin           PATH
    598598
    599 # Include /opt/rustc/man in the MANPATH variable to access manual pages
    600 pathappend  /opt/rustc/share/man     MANPATH
    601 
    602599# End /etc/profile.d/rustc.sh</literal>
    603600EOF</userinput></screen>
  • introduction/important/beyond.xml

    r8a280fb6 r755607e3  
    4848    <listitem>
    4949      <para>Add <filename class='directory'>$PREFIX/man</filename>
    50       to <filename>/etc/man_db.conf</filename> or expand
    51       <envar>MANPATH</envar>.</para>
     50      to <filename>/etc/man_db.conf</filename>.</para>
    5251    </listitem>
    5352    <listitem>
  • kde/kf5/kf6-intro.xml

    r8a280fb6 r755607e3  
    128128
    129129pathappend $KF6_PREFIX/lib/python&python3-majorver;/site-packages PYTHONPATH
    130 
    131 pathappend $KF6_PREFIX/share/man        MANPATH
    132130
    133131pathappend $KF6_PREFIX/include          CPLUS_INCLUDE_PATH
  • postlfs/config/profile.xml

    r8a280fb6 r755607e3  
    345345
    346346# Set some defaults before other applications add to these paths.
    347 pathappend /usr/share/man  MANPATH
    348347pathappend /usr/share/info INFOPATH</literal>
    349348EOF</userinput></screen>
     349
     350      <note>
     351        <para>
     352          The <command>man</command> program automatically deduce the search
     353          path for man pages by examing the content of the
     354          <envar>PATH</envar> variable, see
     355          <ulink role='man' url='&man;manpath.5'>manpath(5)</ulink> for
     356          details.  Setting the <envar>MANPATH</envar> variable may override
     357          the automatic deduction, so the BLFS editors do not recommend to
     358          set it.  If you must set it for any reason, it's better to start
     359          its value with a colon (<literal>:</literal>), for example
     360          <command>MANPATH=:/opt/somepkg/share/man:/opt/otherpkg/share/man</command>
     361          so the paths listed in the <envar>MANPATH</envar> variable will
     362          be appended to the automatically deduced value instead of
     363          overriding it.
     364        </para>
     365      </note>
    350366
    351367    </sect3>
  • pst/typesetting/tex-path.xml

    r8a280fb6 r755607e3  
    5252export TEXLIVE_PREFIX
    5353
    54 pathappend \$TEXLIVE_PREFIX/texmf-dist/doc/man  MANPATH
    5554pathappend \$TEXLIVE_PREFIX/texmf-dist/doc/info INFOPATH
    5655pathappend \$TEXLIVE_PREFIX/bin/$TEXARCH
     
    6665  <note>
    6766    <para>
    68       The standard MANPATH and INFOPATH path are specified above to
     67      The standard INFOPATH path are specified above to
    6968      ensure they are included.  If they are already set in the boot script
    7069      procedure, the pathappend function will ensure duplicates are
Note: See TracChangeset for help on using the changeset viewer.