Boost logo

Boost-Build :

From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-08-13 18:19:33


Rene Rivera <grafik666_at_[hidden]> writes:

> [2003-08-13] John Maddock wrote:
>
>>I'm trying to right a centralised install-like rule using the stage rule,
>>but am running into the problem that the stage rule seems to always take
> the
>>path specified as being relative to the current sub-project path, and
>>prefixes the path with $(TOP)/$(SUBDIR)/ *even when the path specified is
> an
>>absolute one*. Is there any way around this, and/or is there any variable
>>in bjam that points to the project root from the sub-project path (note not
>>the same as $(TOP)), so that I could then "undo" the effect that the
>>$(TOP)/$(SUBDIR)/ prefix has.
>>
>>Thanks,
>>
>>John.
>>
>>ps: Rene are you working on a boost.install rule as well?
>
> Yes. Take a look at: boost-root/Jamfile, and
> boost-root/tools/build/boost-base.jam in the "build_for_distribution"
> branch.
>
> Specifically boost-base.jam has fixes to the stage rule which allow you to
> use absolute paths more effectively, and other usefull changes.
>
> The changes to boost-base haven't made it to the HEAD because I don't want
> to possibly disturb the 1.31 release ;-)

I don't think 1.31 is quite so imminent that you have to worry. If
it works on your machine I'd go ahead and check it into the HEAD.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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