Ken wrote:

> [Norm wrote:]
> >While you're on the subject, how do I get makewhatis to include
> >the hierarchy at /usr/local/nmh/share/man, without running
> >it myself every night via crontab?
>
> I don't have any familiarity with your particular Linux variant,
> but most versions of man (and by extension, catman/mandb/makewhatis)
> have some mechanism to adjust on a systemwide basis the search path
> (SLES has manpath.conf, BSD-derived systems have man.conf).  "man man"
> might be a good place to start.

Norm, I'd look for /etc/man.config on a Red Hat system if there
is no /etc/man.conf.  If it exists, adding a line like this should
do it:

  MANPATH /usr/local/nmh/share/man

or if you put other packages in /usr/local/ and want to handle all
of them with one entry:

  MANPATH /usr/local/*/share/man

David

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to