"Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx> writes:
> hi,
>
> On May 5, 2:27pm, Eric Sandeen wrote:
> > Subject: Re: XFS on SuSE7.1
> > Ah, I see now that it's probably a result of building the userspace
> > packages on an older system - the man location is set during "configure"
> > so if it's in /usr/man rather than /usr/share/man, that's probably a
> > result of building on a non-FHS 2.0 compliant system.
> >
> > Still, next spin, we can clean that up.
> >
> > Thanks for pointing it out!
> >
>
> I'm not sure there's too much we can change in our rpms,
> since we want these to work on "older" systems too (ie.
> systems which use /usr/man and do not have /usr/share/man
> on the default man search path).
>
> What I might do though is change the default location to
> install to. Currently, if we cannot make an educated guess
> as to the correct location, we fall back to /usr/doc (this
> is whats biting the Mandrake folk, I'll bet). Instead, it
> seems like guessing at /usr/share/man is the right thing to
> do, with so many distros starting to follow the fhs now.
why don't you use the %{_mandir} %{_docdir} %{_infodir} macros ?
|