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


Bernhard Reiter wrote:
> I'm interested in adding boost tools (as boostbook, quickbook etc.) to
> the Ubuntu/Debian libboost package. ( See also
> )
> 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

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, david.abrahams at, gregod at, cpdaniel at, john at