diff options
author | Steven Knight <knight@baldmt.com> | 2003-02-22 16:17:24 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-02-22 16:17:24 (GMT) |
commit | 97af32a2c590938ddb9967776c65caab1ad9a2dd (patch) | |
tree | 2659a65c21712cd69214ba365c50927a781df876 /doc | |
parent | 2a95aa36269ad195a3579382889489cc3b1bac0f (diff) | |
download | SCons-97af32a2c590938ddb9967776c65caab1ad9a2dd.zip SCons-97af32a2c590938ddb9967776c65caab1ad9a2dd.tar.gz SCons-97af32a2c590938ddb9967776c65caab1ad9a2dd.tar.bz2 |
Warn when the user tries to set TARGET[S] or SOURCE[S] in an Environment.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index f026b72..f76bc01 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -2460,6 +2460,16 @@ The prefix used for shared object file names. .IP SHOBJSUFFIX The suffix used for shared object file names. +.IP SOURCE +A reserved variable name +that may not be set or used in a construction environment. +(See "Variable Substitution," below.) + +.IP SOURCES +A reserved variable name +that may not be set or used in a construction environment. +(See "Variable Substitution," below.) + .IP SPAWN A command interpreter function that will be called to execute command line strings. The function must expect 4 arguments: @@ -2501,6 +2511,16 @@ The command line used to call the tar archiver. .IP TARFLAGS General options passed to the tar archiver. +.IP TARGET +A reserved variable name +that may not be set or used in a construction environment. +(See "Variable Substitution," below.) + +.IP TARGETS +A reserved variable name +that may not be set or used in a construction environment. +(See "Variable Substitution," below.) + .IP TARSUFFIX The suffix used for tar file names. @@ -3676,6 +3696,9 @@ first source if multiple sources are being built. .IP SOURCES The file names of the sources of the build command. +(Note that the above variables are reserved +and may not be set in a construction environment.) + .LP For example, given the construction variable CC='cc', targets=['foo'], and sources=['foo.c', 'bar.c']: |