ITA: GNU miscfiles
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jul 13 13:57:00 GMT 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20160713/3f532b3b/attachment.sig>
More information about the Cygwin-apps
mailing list