man question

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Jan 21 15:51:20 PST 2004


Didier Wiroth <didier.wiroth at mcesr.etat.lu> writes:

> Hi,
> 
> I've compiled and installed software by my own in this directory:
> /home/me/custom/
> 
> In this directory I have the following directories and subdirectories:
> /home/me/custom/man
> /home/me/custom/man/man1
> /home/me/custom/man/man8
> 
> The man8 and man1 directory contains some .8 and .1 man files.
> 
> For example /home/me/custom/man/man8/logrotate.8
> When I enter: man 8 logrotate 
> I get: No entry for logrotate in section 8 of the manual
> or 
> man logrotate: 
> No manual entry for logrotate
> 
> What do I have to do, to be able to use/view those man files, only ME? I don't want to modif manpath.config (as this is a global configuration file)?

Quite simple.

>From "man man":

     -M path     Specify an alternate manpath.  By default, man uses
                 manpath(1) (which is built into the man binary) to determine
                 the path to search.  This option overrides the MANPATH envi-
                 ronment variable.

and

     MANPATH     If MANPATH is set, its value is used as the path to search
                 for manual pages.


More information about the freebsd-questions mailing list