Index: tools/build/v2/doc/src/architecture.xml =================================================================== --- tools/build/v2/doc/src/architecture.xml (revision 86431) +++ tools/build/v2/doc/src/architecture.xml (working copy) @@ -83,8 +83,8 @@ The targets are returned to the top level code. They are converted - into bjam targets (via virtual-target.actualize) and passed - to bjam for building. + into Boost Build targets (via virtual-target.actualize) + and passed to Boost Build for building. @@ -166,8 +166,8 @@ Virtual targets correspond to atomic updatable entities. Each virtual target can be assigned an updating action -- instance of the action class. The action class, in turn, contains a list of - source targets, properties, and a name of an bjam action which should be - executed. + source targets, properties, and a name of an Boost Build action which + should be executed. @@ -183,7 +183,7 @@ that the real file names are computed, and the commands that should be run are generated. This is done by the virtual-target.actualize and action.actualize methods. The first is conceptually - simple, while the second needs additional explanation. Commands in bjam + simple, while the second needs additional explanation. Commands in Boost Build are generated in a two-stage process. First, a rule with an appropriate name (for example "gcc.compile") is called and is given a list of target names. The rule sets some variables, like "OPTIONS". After that, the @@ -308,15 +308,15 @@ As stated above, it is possible to compile a C++ file multiple times, using different include paths. Therefore, include dependencies for those - compilations can be different. The problem is that bjam does not allow + compilations can be different. The problem is that Boost Build does not allow multiple scans of the same target. The solution in Boost.Build is straightforward. When a virtual target is - converted to a bjam target (via the + converted to a Boost Build target (via the virtual-target.actualize method), we specify the - scanner object to be used. The actualize method will create different bjam + scanner object to be used. The actualize method will create different Boost Build targets for different scanners. @@ -355,7 +355,7 @@ If when compiling "a.cpp" there is an include of "a.h", the "dir" directory is on the include path, and a target called "a.h" will be - generated in "dir", then bjam should discover the include, and create + generated in "dir", then Boost Build should discover the include, and create "a.h" before compiling "a.cpp". Index: tools/build/v2/doc/src/extending.xml =================================================================== --- tools/build/v2/doc/src/extending.xml (revision 86431) +++ tools/build/v2/doc/src/extending.xml (working copy) @@ -613,7 +613,7 @@ and the target type. When invoked, the generator will create a target of type CPP with a source target of type VERBATIM as the only source. But what command - will be used to actually generate the file? In bjam, actions are + will be used to actually generate the file? In Boost Build, actions are specified using named "actions" blocks and the name of the action block should be specified when creating targets. By convention, generators use the same name of the action block as their own id. So, @@ -970,7 +970,7 @@ Note the bind DEF_FILE part. It tells - bjam to translate the internal target name in + Boost Build to translate the internal target name in DEF_FILE to a corresponding filename in the link action. Without it the expansion of $(DEF_FILE) would be a strange symbol that is @@ -992,7 +992,7 @@ - This is needed to accomodate some bug in bjam, which hopefully + This is needed to accomodate some bug in Boost Build, which hopefully will be fixed one day. Index: tools/build/v2/doc/src/install.xml =================================================================== --- tools/build/v2/doc/src/install.xml (revision 86431) +++ tools/build/v2/doc/src/install.xml (working copy) @@ -103,7 +103,7 @@ Placing Boost.Build into /usr/share/boost-build - will make sure that bjam will find Boost.Build + will make sure that b2 will find Boost.Build without any additional setup. @@ -120,7 +120,7 @@ If those guidelines are met, users will be able to invoke - bjam without any explicit configuration. + b2/command> without any explicit configuration. Index: tools/build/v2/doc/src/overview.xml =================================================================== --- tools/build/v2/doc/src/overview.xml (revision 86431) +++ tools/build/v2/doc/src/overview.xml (working copy) @@ -580,6 +580,12 @@
Invocation + + + + As of Boost 1.47.0, the official name of Boost.Build executable is b2. The bootstrap scripts create a copy with the old name bjam to prevent third-party build scripts from failing. Authors are encouraged to update their scripts to refer to the new name. + + To invoke Boost.Build, type b2 on the command line. Three kinds of command-line tokens are accepted, in any order: Index: tools/build/v2/doc/src/reference.xml =================================================================== --- tools/build/v2/doc/src/reference.xml (revision 86431) +++ tools/build/v2/doc/src/reference.xml (working copy) @@ -17,7 +17,8 @@
Initialization - bjam's first job upon startup is to load the Jam code that + First job of the Boost Build's command b2 + upon startup is to load the Jam code that implements the build system. To do this, it searches for a file called boost-build.jam, first in the invocation directory, then in its parent and so forth up to the filesystem root, and finally Index: tools/build/v2/doc/src/tasks.xml =================================================================== --- tools/build/v2/doc/src/tasks.xml (revision 86431) +++ tools/build/v2/doc/src/tasks.xml (working copy) @@ -447,8 +447,8 @@ args and input-files as command-line arguments. The args parameter is passed verbatim and the values of the input-files parameter are treated as - paths relative to containing Jamfile, and are adjusted if bjam - is invoked from a different directory. The + paths relative to containing Jamfile, and are adjusted if b2 + is invoked from a different directory. The run-fail rule is identical to the run rule, except that it expects that the run fails.