diff options
author | Steven Knight <knight@baldmt.com> | 2007-01-07 07:23:05 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2007-01-07 07:23:05 (GMT) |
commit | 8f79b64540d5c6b8c9ca36f1a4ebcaf4d9df3d98 (patch) | |
tree | 05e6aee9b46b530443e01bbb762b68775a6bb0ff /README | |
parent | c4d04b3b45e7b71a1b28053b90084bcf2fdf9c0e (diff) | |
download | SCons-8f79b64540d5c6b8c9ca36f1a4ebcaf4d9df3d98.zip SCons-8f79b64540d5c6b8c9ca36f1a4ebcaf4d9df3d98.tar.gz SCons-8f79b64540d5c6b8c9ca36f1a4ebcaf4d9df3d98.tar.bz2 |
Merged revisions 1738-1754,1756 via svnmerge from
http://scons.tigris.org/svn/scons/branches/core
........
r1741 | stevenknight | 2006-12-16 22:51:07 -0600 (Sat, 16 Dec 2006) | 1 line
0.96.D527 - Give the f90 and f95 Tool modules knowledge of how to build source files of earlier Fortran versions.
........
r1742 | stevenknight | 2006-12-16 23:22:54 -0600 (Sat, 16 Dec 2006) | 1 line
0.96.D528 - Better handling of timestamp fallback if there's no md5 module.
........
r1743 | stevenknight | 2006-12-17 00:21:31 -0600 (Sun, 17 Dec 2006) | 1 line
0.96.D529 - Fix portability of new tests on systems that don't have TeX installed.
........
r1744 | stevenknight | 2006-12-19 15:30:16 -0600 (Tue, 19 Dec 2006) | 1 line
0.96.D530 - Eliminate the ListBuilder subclass in favor of using the Executor's target lists.
........
r1745 | stevenknight | 2006-12-19 18:54:26 -0600 (Tue, 19 Dec 2006) | 1 line
0.96.D531 - Eliminate of MultiStepBuilder as a separate Builder subclass.
........
r1746 | garyo | 2006-12-21 13:21:08 -0600 (Thu, 21 Dec 2006) | 1 line
Minor doc fix, thanks to Douglas Landgraf.
........
r1747 | stevenknight | 2006-12-21 17:13:55 -0600 (Thu, 21 Dec 2006) | 1 line
0.96.D533 - Add CFLAGS for options common to C/C++. (Gary Oberbrunner)
........
r1748 | stevenknight | 2007-01-03 19:48:05 -0600 (Wed, 03 Jan 2007) | 1 line
0.96.D534 - Fix signature storage when targets are retrieved from CacheDir().
........
r1749 | stevenknight | 2007-01-04 16:48:47 -0600 (Thu, 04 Jan 2007) | 1 line
0.96.D535 - Teach the lex and yacc tools about target files generated by different flex/bison options, and about Objective C suffixes. (Pupeno)
........
r1750 | stevenknight | 2007-01-04 17:14:38 -0600 (Thu, 04 Jan 2007) | 1 line
0.96.D536 - Refactor duplicate disambiguation logic in Entry.get_contents().
........
r1751 | stevenknight | 2007-01-05 13:00:54 -0600 (Fri, 05 Jan 2007) | 1 line
0.96.D537 - Fix lprof regression from 0.96.92.
........
r1752 | stevenknight | 2007-01-05 20:43:48 -0600 (Fri, 05 Jan 2007) | 1 line
0.96.D538 - Fix caching of Builder suffix matching (to fix lprof regression).
........
r1753 | stevenknight | 2007-01-06 00:03:16 -0600 (Sat, 06 Jan 2007) | 1 line
0.96.D539 - Fix --include-dir when using MinGW. (Paul)
........
r1754 | stevenknight | 2007-01-06 00:24:53 -0600 (Sat, 06 Jan 2007) | 1 line
0.96.D540 - Make bootstrap.py something useful to execute SCons out of a source directory.
........
r1756 | stevenknight | 2007-01-06 21:32:11 -0600 (Sat, 06 Jan 2007) | 1 line
0.96.D541 - Update the Copyright year string to include 2007. Automate updating the month+year string in man page title headers. Fix hard-coded __revision__ strings that crept into some older tests.
........
Diffstat (limited to 'README')
-rw-r--r-- | README | 43 |
1 files changed, 28 insertions, 15 deletions
@@ -122,13 +122,21 @@ system, populate the build/scons/ directory by running: $ scons build/scons -If you don't have SCons version 0.96 or later already installed on your -system, you can use SCons itself to populate the build/scons/ directory -with a little more typing. You must first set the SCONS_LIB_DIR -environment variable to the local src/engine subdirectory, and then -execute the local src/script/scons.py script to populate the build/scons/ -subdirectory. You would do this as follows on a Linux or UNIX system -(using sh or a derivative like bash or ksh): +You can also use this version of SCons to populate its own build directory +by using a supplied bootstrap.py script: + + $ python bootstrap.py build/scons + +The bootstrap.py keeps the src/ subdirectory free of compiled Python +(*.pyc or *.pyo) files by copying the necessary SCons files to a local +bootstrap/ subdirectory and executing it from there. + +You can also execute the local SCons directly from the src/ subdirectory +by first setting the SCONS_LIB_DIR environment variable to the local +src/engine subdirectory, and then execute the local src/script/scons.py +script to populate the build/scons/ subdirectory. You would do this as +follows on a Linux or UNIX system (using sh or a derivative like bash +or ksh): $ export SCONS_LIB_DIR=`pwd`/src/engine $ python src/script/scons.py build/scons @@ -136,11 +144,11 @@ subdirectory. You would do this as follows on a Linux or UNIX system Or as follows on Windows: C:\scons\>set SCONS_LIB_DIR=%cd%\src\engine - C:\scons\>python src/script/scons.py build/scons + C:\scons\>python src\script\scons.py build/scons -Either command will populate the build/scons/ directory with the necessary -files and directory structure to use the Python-standard setup script -as follows on Linux or UNIX: +Any of the above commands will populate the build/scons/ directory with +the necessary files and directory structure to use the Python-standard +setup script as follows on Linux or UNIX: # cd build/scons # python setup.py install @@ -238,9 +246,14 @@ modules that make up SCons. The src/script/scons.py wrapper script exists mainly to find the appropriate build engine library and then execute it. In order to make your own change locally and test them by hand, simply -edit modules in the local src/engine/SCons and set the SCONS_LIB_DIR -to point to that directory. Here is one way you can set up environment -variables to do this on a UNIX or Linux system: +edit modules in the local src/engine/SCons subdirectory tree and +either use the local bootstrap.py script: + + $ python bootstrap.py [arguments] + +Or set the SCONS_LIB_DIR to point to the src/engine/SCons directory and +then execute the src/script/scons.py script. Here is one way you can +set up environment variables to do this on a UNIX or Linux system: $ setenv MYSCONS=`pwd`/src $ setenv SCONS_LIB_DIR=$MYSCONS @@ -258,7 +271,7 @@ if the SCons configuration for your project seems to be blocked by an SCons bug, and you want to see if a patch you make actually fixes that bug): - $ python $MYSCONS/script/scons.py -C /some/other/location [arguments] + $ python bootstrap.py -C /some/other/location [arguments] Lastly, if you want to be able to just execute your modified version of SCons from the command line, you can make it executable and add its |