Boost logo

Boost-Build :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-03-18 19:41:31


On Tuesday 18 March 2003 10:09 am, Vladimir Prus wrote:
> Douglas Paul Gregor wrote:
> > 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.
>
> OK, since I don't have any use for xml-catalog, I've no problem if this is
> implementation detail. But I'm not sure what "Jam variables" mean. The
> general V2 approach is to avoid variables as much as possible. For
> example, to configure gcc, you might say
>
> using gcc : 3.2 g++-3.2 ;
>
> instead of setting any variables directly. Probable this wouls be good for
> BookBook as well.

Very nifty. I've now done the same for BoostBook, where one can configure the
DocBook XSL and DTD directories as such:

using boostbook : /home/gregod/Projects/share/docbook-xsl-1.60.1/
: /home/gregod/Projects/share/docbook-dtd-4.2/
;

I have one serious concern with the XML catalog generation I just checked in:
the command lines to "echo" can get pretty darn long, but I don't really know
how to break them up properly. Or perhaps there is a better way to generate
files than echo?

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