Boost logo

Boost-Build :

From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2003-03-18 08:28:05


On Tue, 18 Mar 2003, Vladimir Prus wrote:
> Douglas Gregor wrote:
>
> > > "I could" means you can teach your stylesheet to do that? It will be very
> > > good.
> >
> > 'Tis done now, but not (IMHO) cleanly. HTML (multiple files) and man pages
> > are now supported in the BoostBook module.
>
> In my case, all I get is
>
> Chunking isn't supported with libxslt
>
> message, and no output, but I guess this is configuration problem on my side.

Perhaps you have a very old version of libxslt? I've used 1.0.19 and newer
and have never had this problem.

> What's not nice currently, is relocating of manifest file. We've two
> approaches
>
> 1. Don't do anything. The manifest file will be generated to
> "bin/gcc/debug/HTML.manifest". The xsl-dir rule will find out the location
> of manifest file and store generated files in the same location. That's as
> clean as possible. Of course, the path "bin/gcc/debug"... is wierd. But this
> should be fixed.
>
> 2. Change manifest location in another way. The 'virtual-target' class has
> 'set-path' method. This will eliminate the need for 'common.MkDir' call.
> It's still not quite clean, but will avoid deep directories right now.

I'll probably go with option #2, then. Thanks!

> > Still no clue how to handle catalogs, unfortunately :(
>
> Frankly, I don't know how they should work. I'd imagine that
> some Jamfile has
>
> xml-catalog boostbook : "http://nowhere.com"="/home/ghost/dtd/nowhere" ;
>
> And that there's <xml-catalog> feature, which is honored by xslt actions. On
> the other hand, you was trying to make the docbook rule to automatically
> create a new target locally. I don't know what is better.

I think XML catalogs will be more of an implementation detail than a real
output. We really need just 3 paths (DocBook DTD, DocBook XSL, BoostBook
tools), that (if available) will be in Jam variables. From those we can
construct the catalog without the user even knowing. I think I've figured
out how to do it correctly: create a file-target for the catalog with an
action xml-catalog-action whose actualize method builds the catalog from
the Jam variables and sets the right target properties (like null-action
does).

Doug

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk