Am 11.09.2010 um 09:35 schrieb Gordon Tetlow: > On Thu, Sep 9, 2010 at 8:17 PM, Anonymous <swell.k_at_gmail.com> wrote: > >> Gordon Tetlow <gordon_at_tetlows.org> writes: >> >>> 2. Imports configuration from /usr/local/etc/man.d/*.conf and >> /etc/man.conf >>> (purposefully changed the manpath.config file since it is a different >>> syntax). >> >> Hmm, and if LOCALBASE != /usr/local? hier(7) does not specify /usr/local >> as the only place installed packages may reside in, only default one. >> > > That variable is not easily found in shell. I'm open to suggestions on how > to figure it out. I suppose I could try something like make -V LOCALBASE > since it would be in /etc/make.conf if it is set. Another alternative would > be to parse the PATH and look for ../etc/man.d for each path component. That > would be even more generic (and allow for the user to customize it > potentially). Take it from /etc/man.conf, like the rc.d paths are resolved? Stefan -- Stefan Bethke <stb_at_lassitu.de> Fon +49 151 14070811Received on Sat Sep 11 2010 - 05:41:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC