Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Distributing] Configuring boost tools
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-10 12:16:17


AMDG

Bernhard Reiter wrote:
> I'm interested in adding boost tools (as boostbook, quickbook etc.) to
> the Ubuntu/Debian libboost package. ( See also
> https://bugs.launchpad.net/ubuntu/+bug/239670 )
> It is of course pretty easy to get them installed, say,
> to /usr/share/boostbook or /usr/bin (quickbook and other executables).
>
> However, I can currently not find any obvious way to "auto-register"
> them with Boost.Build, so they can be found in a system-wide way. Just
> adding things like
>
> import boostbook-config ;
> import xsltproc-config ;
> using doxygen ;
> import quickbook-config ;
>
> to /etc/site-config.jam would lead to conflicts with the boost-build
> package, as that's the package that installs this file.
>
> Any help where to put those lines for system-wide use very much
> appreciated!
>

Putting this in site-config.jam causes it to process all the *.jam
files in C:/boost/test/site-config as though they were part of
site-config.jam.

import path ;

extra-files = [ path.glob C:/boost/test/site-config : *.jam ] ;

for f in $(extra-files)
{
    include [ path.native $(f) ] ;
}

I don't know whether this is the best solution, though...

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