diff options
author | anatoly techtonik <techtonik@gmail.com> | 2012-02-10 00:43:17 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2012-02-10 00:43:17 +0300 |
commit | 5fee8b80079971ad70c33a32f7e5e535e9e4db0b (patch) | |
tree | d32abe26a39432559efba28bf611c69fbd3a9ed3 | |
parent | 366fd968e33569477d580b4c2e403a021744ad15 (diff) | |
download | scons-5fee8b80079971ad70c33a32f7e5e535e9e4db0b.tar.gz |
Simplify description of bootstrap.py and make it executable.
-rwxr-xr-x[-rw-r--r--] | bootstrap.py | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/bootstrap.py b/bootstrap.py index 2656f4fa..0d1a3fc5 100644..100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # # __COPYRIGHT__ # @@ -28,15 +29,15 @@ import subprocess __doc__ = """bootstrap.py -This script supports "bootstrap" execution of the current SCons in -this local source tree by copying of all necessary Python scripts and -modules from underneath the src/ subdirectory into a subdirectory (named -"bootstrap/" by default), and then executing the copied SCons with the -supplied command-line arguments. +Execute SCons from this source tree. It copies Python scripts and modules +from src/ subdirectory into a subdirectory named "bootstrap/" (by default), +and executes SCons from there with the supplied command-line arguments. -There are a handful of options that are specific to this bootstrap.py -script and which are *not* passed on to the underlying SCons script. -All of these begin with the string "bootstrap_": +This is a minimal build of SCons to bootstrap the full build of all the +packages, as specified in our local SConstruct file. + +Some options are specific to this bootstrap.py script and are *not* passed +on to the SCons script. All of these begin with the string "bootstrap_": --bootstrap_dir=DIR @@ -59,7 +60,7 @@ All of these begin with the string "bootstrap_": Only updates the bootstrap subdirectory, and then exits. -In addition to the above options, the bootstrap.py script understands +In addition to the above, the bootstrap.py script understands the following SCons options: -C, --directory @@ -68,10 +69,6 @@ the following SCons options: Because we change directory right away to the specified directory, the SCons script itself doesn't need to, so this option gets "eaten" by the bootstrap.py script. - -This is essentially a minimal build of SCons to bootstrap ourselves into -executing it for the full build of all the packages, as specified in our -local SConstruct file. """ script_dir = os.path.abspath(os.path.dirname(__file__)) |