diff --git a/v2/doc/src/install.xml b/v2/doc/src/install.xml index 12f3e6aaa..86041f8e2 100644 --- a/v2/doc/src/install.xml +++ b/v2/doc/src/install.xml @@ -167,4 +167,72 @@ boost-build /path/to/boost.build ; Boost.Build v2, you have to add the command line option to all bjam invocations. + + + Information for distributors + + + If you're planning to package Boost.Build for a Linux distribution, + please follow these guidelines: + + + Create a separate package for Boost.Jam. + + + Create another package for Boost.Build, and make + this package install all Boost.Build files to + /usr/share/boost-build directory. After + install, that directory should contain everything you see in + Boost.Build release package, except for + jam_src directory. If you're using Boost CVS + to obtain Boost.Build, as opposed to release package, take + everything from the tools/build/v2 directory. + For a check, make sure that + /usr/share/boost-build/boost-build.jam is installed. + + + Placing Boost.Build into /usr/share/boost-build + will make sure that bjam will find Boost.Build + without any additional setup. + + + Provide a + /etc/site-config.jam configuration file that will + contain: + +using gcc ; + + You might want to add dependency from Boost.Build package to gcc, + to make sure that users can always build Boost.Build examples. + + + + + If those guidelines are met, users will be able to invoke + bjam without any explicit configuration. + + + + + + + +