On Wed, 2004-10-06 at 13:03, Ralf S. Engelschall wrote:
> On Wed, Oct 06, 2004, David M. Fetter wrote:
>
> > I noticed that docs for openpkg rpms are being put under
> > "%{l_prefix}/share/%{name}". If I add a %doc section under %files it
> > puts the docs I specify under "%{l_prefix}/doc/%{name}-%{version}" as
> > would normally be done with standard rpm. Is there another way I should
> > be specifying doc files so that it puts them under the share directory
> > like everything else?
>
> Put it into %{l_prefix}/share/%{name} and then mark these files in
> %files section with a %doc prefix. That should work fine. There are a
> few OpenPKG packages which already do this successfully, although the
> %doc feature is still not really deployed in a larger scope within
> OpenPKG.
Ok. I was just defining DOCDIR to be %{l_prefix}/share up toward the
top. I mainly wanted to know if there was a cleaner solution that is
used. Sounds like this is good. Thanks.
--
David M. Fetter - UNIX Systems Administrator
Portland State University - www.oit.pdx.edu
"Only those who attempt the absurd can achieve the impossible."
signature.asc
Description: This is a digitally signed message part
