Re: Fine grained control of the %doc macro?

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

 



On Sun, Feb 15, 2004 at 05:57:24PM +0200, Ville Skytt? wrote:
> On Tue, 2004-01-27 at 06:33, Keith G. Robertson-Turner wrote:
> 
> > ls -R .
> > .:
> > bar DOC1 DOC2 DOC3 foo
> > 
> > ./bar:
> > DOC1 DOC2 DOC3
> > 
> > ./foo:
> > DOC1 DOC2 DOC3
> > 
> > "make install" does *not* install any docs in this package.
> > 
> > Question 2) ... How can I tell %doc to recreate the folder hierarchy as it
> > stands, with subdirectories?
> 
> FC1's docbook-dtds package cleverly uses this:
> 
>   %doc --parents 3.1-sgml/ChangeLog
>   %doc --parents 4.1-sgml/ChangeLog
>   %doc --parents */*.txt
> 
> Hint: everything after the special form %doc gets passed to cp(1)...
> 

Clever.

Just make sure you don't get burned if/when I ever get around to
fixing the scoping of %attr and %defattr across %doc, as the cp within
the helper needs to die.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@xxxxxxxxxx (jbj@xxxxxxx)
Chapel Hill, NC


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux