[PATCH 2/8] winsup/doc: Fix xidepend to handle relative pathnames

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 15 17:02:00 GMT 2015


On Jun 15 13:36, Jon TURNEY wrote:
> It seems that xidepend doesn't work correctly if we are ./configure'd using a
> relative pathname to the srcdir:
> 
> $ make
> cd ../../../../src/winsup/doc && ./xidepend ../../../../src/winsup/doc/cygwin-ug-net.xml ../../../../src/winsup/doc/cygwin-api.xml >"/wip/cygwin/build/x86_64-unknown-cygwin/winsup/doc/Makefile.dep"
> grep: ../../../../src/winsup/doc/cygwin-ug-net.xml: No such file or directory
> grep: ../../../../src/winsup/doc/cygwin-api.xml: No such file or directory
> 
> Although it might be better to fix this by making xidepend use pathnames, rather
> than ignoring them and assuming everything is in the current directory...

Indeed.  The problem is the included loop iterating over the
dependencies.  A more foolproof solution would be helpful.

For the time being, please apply your patch.


Thanks,
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: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150615/073d05b7/attachment.sig>


More information about the Cygwin-patches mailing list