Skip site navigation (1)Skip section navigation (2)
Date:      21 Jan 2004 18:50:42 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Didier Wiroth <didier.wiroth@mcesr.etat.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: man question
Message-ID:  <44zncgrhd9.fsf@be-well.ilk.org>
In-Reply-To: <1f35a1f2b0.1f2b01f35a@etat.lu>
References:  <1f35a1f2b0.1f2b01f35a@etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
Didier Wiroth <didier.wiroth@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zncgrhd9.fsf>