summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-25 02:50:45 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-25 02:50:45 (GMT)
commit10457428a793ab83448c6752f647f8fec882c2fa (patch)
tree5c0fc7d7e7bec84d3e88ca77133d693f7eb98cd1 /doc
parent25b2149133eec63f8501efb37f4dd6e59cdc7506 (diff)
downloadSCons-10457428a793ab83448c6752f647f8fec882c2fa.zip
SCons-10457428a793ab83448c6752f647f8fec882c2fa.tar.gz
SCons-10457428a793ab83448c6752f647f8fec882c2fa.tar.bz2
Add a ParseDepends() function to read up mkdep-style files.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.135
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