[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

non-standard man page location



hi *,

	that's where GRASS wants to put its manpages (a *lot* of manpages):

man1/       *  man entries for basic, tested commands
man2/       *  man entries for alpha programs
man3/       *  man entries for shell scripts
man4/       *  man entries for contributed, untested code
man5/       *  man entries -- file format descriptions
help.src/   *  brief help entries for all commands listed under man*

obviously i don't want to stuff a lot of crap in /usr/share/man and i
am thinking about leaving all the manpages in /usr/share/grass5/man.

the question is how to tell the man command how to find the pages.
yes, i know how to do it via env or conf file, but how can i do it
from grass package postinst? grass also requires the user to run an
init script before using it. is it right to define the MANPATH from
the script and have only users running it to have access to the man
pages?

thanx,
federico

-- 
Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
  99.99999999999999999999% still isn't 100% but sometimes suffice. -- Me



Reply to: