This is the mail archive of the cygwin-patches 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: [PATCH 2/8] winsup/doc: Fix xidepend to handle relative pathnames


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

Attachment: pgpybznbC21rL.pgp
Description: PGP signature


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