Hi All,

I have built a set of RPMs that install to some place like:

        /usr/build

with bin, man and lib directories under their.  I would like to
in the RPM make the man pages from these RPM's available.  I tried
altering the MANPATH, but when I did this it completely overrided 
/etc/man.config such that my man pages were available but the
system ones were not.  I checked out the man.config man page, but
it seemed to say that if you use the MANPATH that completely overrides
what is set as a MANPATH in that config file.

I know I can drop a script in profile.d, but
doing so, according understanding means I would have to either:

        - parse the man.config MANPATH statements being sure to 
          include them in my MANPATH.
        - override the man.config settings completely.  

With the second option I can try to guess that they wil have /usr/man
in their man path, but on a system where the system admin has altered this
config file, I will cause his mods to mysteriously go away.

So my question is is there a way to alter the MANPATH that will complement
the man.config file? 

Thanks...james

P.S. on HP/UX the system MANPATH was constructed from the file /etc/MANPATH
which contained a : delimited list of directories, which made it very easy
for depots (HP rpms) to alter the MANPATH, and was very necessary in an 
architecture where most every package gets its own directory under /opt. 



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to