diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-25 02:50:45 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-25 02:50:45 (GMT) |
commit | f5f2d8ad9d24df1b0f58477006b784adc4bc8a03 (patch) | |
tree | 5c0fc7d7e7bec84d3e88ca77133d693f7eb98cd1 /doc | |
parent | e4a3739689eac21ce5db67d606a9fe29a7695394 (diff) | |
download | SCons-f5f2d8ad9d24df1b0f58477006b784adc4bc8a03.zip SCons-f5f2d8ad9d24df1b0f58477006b784adc4bc8a03.tar.gz SCons-f5f2d8ad9d24df1b0f58477006b784adc4bc8a03.tar.bz2 |
Add a ParseDepends() function to read up mkdep-style files.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 5cad3f2..dda0ce2 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -3191,6 +3191,41 @@ construction variable. '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP +.RI ParseDepends( filename ", [" must_exist ]) +.TP +.RI env.ParseDepends( filename ", [" must_exist ]) +Parses the contents of the specified +.I filename +as a list of dependencies in the style of +.BR Make +or +.BR mkdep , +and explicitly establishes all of the listed dependencies. +By default, +it is not an error +if the specified +.I filename +does not exist. +The optional +.I must_exit +argument may be set to a non-zero +value to have +scons +throw an exception and +generate an error if the file does not exist, +or is otherwise inaccessible. +The +.I filename +and all of the files listed therein +will be interpreted relative to +the directory of the +.I SConscript +file which called the +.B ParseDepends +function. + +'\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.TP env.Perforce() A factory function that returns a Builder object |