This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ITA: GNU miscfiles


On Jul 13 08:58, Ken Brown wrote:
> On 7/13/2016 7:05 AM, Corinna Vinschen wrote:
> > On Jul 12 11:06, Warren Young wrote:
> > > 	dodoc ${D}/usr/share/misc/GNU-manifesto
> > > 	rm ${D}/usr/share/misc/GNU-manifesto
> > 
> > Ignoring the below comment for now... what?
> > 
> > So you remove the exact same file you installed with dodoc?
> > 
> > > }
> > > 
> > > 
> > > The last line in my src_install() override seems heavy-handed.  I
> > > would have thought that dodoc would move the file into the doc
> > > directory from its default install location for me.
> > 
> > You only explain what you expect, but left out the interesting point
> > what actually happens.  Also, its questionable that `dodoc foo; rm foo'
> > is the way to go here...
> 
> He's trying to move GNU-manifesto from one directory under ${D} to another.
> He should just use 'mv'.  'dodoc' copies, it doesn't move.

Ok, but still.  Even when using dodoc it should better point to the source
file.  Also, why not use a symlink as for the other file?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]