This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] DocBook XML toolchain modernization
- From: Warren Young <warren at etr-usa dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 03 May 2013 16:22:40 -0600
- Subject: Re: [PATCH] DocBook XML toolchain modernization
- References: <517F15AF dot 5080307 at etr-usa dot com> <20130430184703 dot GB6865 at ednor dot casa dot cgf dot cx> <51801469 dot 9070606 at etr-usa dot com> <20130430190706 dot GC6865 at ednor dot casa dot cgf dot cx> <51802510 dot 5000803 at etr-usa dot com> <20130430202737 dot GA1858 at ednor dot casa dot cgf dot cx> <51803D76 dot 5010302 at etr-usa dot com> <20130501003154 dot GB3781 at ednor dot casa dot cgf dot cx> <51806FB3 dot 5040902 at etr-usa dot com> <5181AFEA dot 9010301 at etr-usa dot com> <20130503203001 dot GA6868 at ednor dot casa dot cgf dot cx>
On 5/3/2013 14:30, Christopher Faylor wrote:
It looks like you broke the ability to build outside of the source tree.
Sorry about that.
It looks like you're in the middle of fixing it, so rather than fight
with you over the tree, I'll just let you continue.
I've got one element of the fix here that you haven't yet checked in,
though. You need to change the XInclude in cygwin-api.in.xml back to a
DOCTOOL directive:
< <xi:include href="legal.xml"/>
---
> DOCTOOL-INSERT-legal
This is because xsltproc (via xmlto) doesn't know about $(srcdir) for
XIncludes. It looks in the same directory as the input XML and doesn't
see legal.xml, and dies. If you "#include" this via doctool, problem
solved.
Bottom line, you can't mix doctool includes and XIncludes.