Boost logo

Boost-Build :

From: Michael Stevens (m-stevens_at_[hidden])
Date: 2005-02-11 11:03:15


On Friday 11 February 2005 16:28, Vladimir Prus wrote:
> On Thursday 10 February 2005 20:29, Michael Stevens wrote:
> > On Thursday 10 February 2005 08:27, Vladimir Prus wrote:
> > I think the issue is complicated by the fact the the file is called
> > "site-config.jam" and not "host-config.jam". If the config was for a
> > specific host then "/etc" would be OK. For a site config "/etc" is
> > definitely wrong!
> >
> > With this in mind my prefered location from the FHS would be
> > "/usr/local/share".
>
> Ick! Actually "share" is for architecture-independent files which are
> *not* configs.
Hmmm, I always think of site-config as an installation information rather then
a config file. Maybe that is just me however!

>
> What I had in mind all along is that when Boost.Build is installed by a
> package management system of Debian:
>
> - bjam goes to /usr/bin (like all installed binaries)
> - Boost.Build does to /usr/share/boost-build
> - configs go to /etc
Agreed this is normal structure. The use of /etc is then invariant where the
binary is /usr/bin or /usr/local/bin on such systems.

> When Boost.Build is installed manually, then /usr/local is the right place
> for almost everything, except for site-config.jam. I'm not sure what's the
> right location for site-config.jam in that case, but if boost-build is just
> copied to /usr/local/share/boost-build, then site-config.jam will be in
> BOOST_BUILD_PATH and we don't need to do anything to make it found.
That sounds reasonable. Avoids having to change anything too!

Michael

 


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