|
Boost-Build : |
Subject: Re: [Boost-build] using "build-project"
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-07-17 18:08:53
AMDG
On 07/17/2015 03:00 PM, Stefan Seefeld wrote:
> In my Jamfile I use
>
> build-project tutorial
> build-project reference
>
> with two subprojects in tutorial/ and reference/. Each of those contains
> its own Jamfile, and running bjam in those subdirectories will generate
> a local html/ directory.
>
> However, if I execute bjam in the toplevel directory, I get a single
> ./html/ directory with output of both subprojects on top of each other
> (and of course, a single index.html file corresponding to the last
> subproject being built).
>
> What am I doing wrong ? How can I force the two html/ directories to be
> generated within tutorial/ and reference/, even if the build process is
> invoked from the toplevel directory ?
>
You're not doing anything wrong. This is
a "feature" of the boostbook toolchain that's
difficult to fix because the existing
documentation build relies on it.
> (Is there a parameter I can use to the boostbook rule to set the output
> directory explicitly ?)
>
It looks like you can (ab)use the <name> feature.
You'll have to derive the correct relative path
manually, though, as <name> is not intended to
store a complete path.
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