Changeset 755607e3 for postlfs/config


Ignore:
Timestamp:
04/09/2024 10:16:20 AM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
lazarus, 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.