From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-08-13 10:01:43
[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
>path specified as being relative to the current sub-project path, and
>prefixes the path with $(TOP)/$(SUBDIR)/ *even when the path specified is
>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.
>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"
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 ;-)
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
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