Boost logo

Boost-Build :

Subject: Re: [Boost-build] Relative paths in user-config.jam
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-10 12:58:22


AMDG

Michael Marcin wrote:
> My user-config.jam currently has this at the bottom and it was
> originally the same thing with $(TOP)/ removed.
>
> # -----------------
> # Documentation configuration.
> # -----------------
>
> path-constant TOP : . ;
>
> <snip>
>
> using quickbook
> : $(TOP)/tools/quickbook.exe
> ;
>
> Is there a way to make this work?

It ought to work... I'll try to come up with a fix.

Here's a hack that does work now:
import modules ;
TOP = [ modules.binding $(__name__) ] ;
TOP = $(TOP:D) ;

In Christ,
Steven Watanabe


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