From 6e1e12c7b72177b53da196be8b70c8e79dc2a2b8 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 6 Jul 2004 10:05:32 +0000 Subject: [PATCH] Cleanups [SVN r23366] --- v2/doc/src/howto.xml | 7 +- v2/doc/src/install.xml | 113 ++++++++++++++++--------- v2/doc/src/tutorial.xml | 179 ++++++++++++++++++++++++++-------------- 3 files changed, 193 insertions(+), 106 deletions(-) diff --git a/v2/doc/src/howto.xml b/v2/doc/src/howto.xml index dcb44670f..109d77d63 100644 --- a/v2/doc/src/howto.xml +++ b/v2/doc/src/howto.xml @@ -26,8 +26,11 @@ - Finally, if nothing applies to you, write to our mailing list, - telling what information you'd like to know. + If you have questions, please post them to our mailing + list, and be sure to indicate in the subject line that + you're asking about Boost.Build V2. diff --git a/v2/doc/src/install.xml b/v2/doc/src/install.xml index d164a5907..fc7e18c77 100644 --- a/v2/doc/src/install.xml +++ b/v2/doc/src/install.xml @@ -6,54 +6,81 @@ Installation - Assuming you're installing Boost.Build from released source - distribution, the following steps are needed. All paths are - given relatively to Boost.Build root directory, which is the - directory with the document you are reading. + This section describes how to install Boost.Build from a + released source distribution. All paths are given relative to + the Boost.Build v2 root directory, which is + + + + + + located in the tools/build/v2 subdirectory + of a full Boost + distribution. - Go to "jam_src" directory and build Boost.Jam. Two convenient - scripts are provided, "build.sh" (for Unix systems) and - "build.bat" (for Windows). Run the appropriate one and - Boost.Jam will be built to directory - bin.{platform_name}.. The Boost.Jam documentation has - more details in case you need them. + Boost.Build uses Boost.Jam, an + extension of the Perforce + Jam portable make replacement. The + recommended way to get Boost.Jam is to download + a prebuilt executable from SourceForge. + If a prebuilt executable is not provided for your platform + or you are using Boost's sources in an unreleased state, it + may be neccessary to build bjam + from sources included in the Boost source tree. - Place the Boost.Jam binary, called "bjam" or "bjam.exe", - somewhere in your PATH. Go to the root - directory of Boost.Build and run "bjam --version". You should - get - Boost.Build V2 (Milestone N) + To install Boost.Jam, copy the executable, + called bjam + or bjam.exe to a location accessible in + your PATH. Go to the Boost.Build root + directory and + run bjam . You + should see: - (where N is the version you've downloaded). + + Boost.Build V2 (Milestone N) + Boost.Jam xx.xx.xx + + + where N is the version of Boost.Build you're using. - Configure toolsets to use. Open the - user-config.jam file and follow - instructions there to specify what compiles/libraries you - have and where they are located. + Configure Boost.Build to recognize the build resources (such + as compilers and libraries) you have installed on your + system. Open the + user-config.jam file in the Boost.Build + root directory and follow the instructions there to describe + your toolsets and libraries, and, if neccessary, where they + are located. - You should now be able to go to - example/hello, and run + You should now be able to go to the + example/hello/ directory and run bjam there. A simple application will be - built. You can also play with other projects in - example. + built. You can also play with other projects in the + example/ directory.