diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-11 18:24:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-11 18:24:32 (GMT) |
commit | 0bf9bbc298b57b985bb84f8c60bbc70eca71bbaa (patch) | |
tree | 10a6357ff5391b94c429748a5cac121562551307 /doc | |
parent | e7578889702d1be9231592a0b2a39050f3702c51 (diff) | |
download | SCons-0bf9bbc298b57b985bb84f8c60bbc70eca71bbaa.zip SCons-0bf9bbc298b57b985bb84f8c60bbc70eca71bbaa.tar.gz SCons-0bf9bbc298b57b985bb84f8c60bbc70eca71bbaa.tar.bz2 |
Change to SConscript directory when reading it. (Steve Leblanc)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index b3ed141..543a259 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -1347,6 +1347,28 @@ SConscript('dir/SConscript') foo = SConscript('subdir/SConscript', "env") .EE +.TP +.RI SConscriptChdir( value ) +When a non-negative +.I value +is specified, +this instructs +.B scons +to change its working directory (chdir) +to the directory in which each subsidiary +configure (SConscript) file lives. +Note that you may enable and disable +this ability by calling +.R SConscriptChdir() +multiple times: + +.ES +SConscriptChdir(1) +SConscript('foo/SConscript') # will chdir to foo +SConscriptChdir(0) +SConscript('bar/SConscript') # will not chdir to bar +.EE + .TP .RI SetCommandHandler( function ) |