Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-09-23 14:35:14


John Maddock wrote:
> Rene Rivera wrote:
>>> It's the generator that needs to change since it's the one that
>>> creates
>>> all the internal targets. The attached version of boostbook.jam
>>> implements the second option above. There might be a problem if you
>>> set
>>> your own <xsl:param>manifest property, so delete that before using
>>> it.
>
> Hmm, I'm still seeing lots of errors:

[...]
> c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:996:
> in virtual-target.register-actual-name from module virtual-target
> error: Duplicate name of actual target:
> <p..\bin.v2\doc\msvc-8.0\debug\threading-multi>catalog.xml
[...]

Right, forgot about the catalog.

> However it does rename the manifest correctly when there is only one
> boostbook target, I'm attaching the Jamfile: can you see anything
> obviously wrong?
>
> Many thanks, John.

The attached works around the duplicate catalog targets. I'll work on
the optimal solution, of having a single declared global catalog target,
as opposed to one catalog per doc project.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo



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