summaryrefslogtreecommitdiffstats
path: root/doc/man/scons.1
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-06 13:12:16 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-06 13:12:16 (GMT)
commitd2ffc02b7ca645f2c9bbd3042d739128b528124b (patch)
treeaa082468c1adc548cc9e419b70f9c30b96f1f6e6 /doc/man/scons.1
parentb7dc7fc461b3a9170b14d8a026d69c0a28c2883d (diff)
downloadSCons-d2ffc02b7ca645f2c9bbd3042d739128b528124b.zip
SCons-d2ffc02b7ca645f2c9bbd3042d739128b528124b.tar.gz
SCons-d2ffc02b7ca645f2c9bbd3042d739128b528124b.tar.bz2
Fix fallout from having everything return a list.
Diffstat (limited to 'doc/man/scons.1')
-rw-r--r--doc/man/scons.113
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index fac9635..957853e 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2359,18 +2359,20 @@ or retrieved from the cache.
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
-.RI Clean( target ", " files_or_dirs )
+.RI Clean( targets ", " files_or_dirs )
.TP
-.RI env.Clean( target ", " files_or_dirs )
+.RI env.Clean( targets ", " files_or_dirs )
This specifies a list of files or directories which should be removed
-whenever the target is specified with the
+whenever the targets are specified with the
.B -c
command line option.
+The specified targets may be a list
+or an individual target.
Multiple calls to
.BR Clean ()
are legal,
-and create a new target or add files and directories to the
-clean list for the specified target.
+and create new targets or add files and directories to the
+clean list for the specified targets.
Multiple files or directories should be specified
either as separate arguments to the
@@ -2384,6 +2386,7 @@ Examples:
.ES
Clean('foo', ['bar', 'baz'])
Clean('dist', env.Program('hello', 'hello.c'))
+Clean(['foo', 'bar'], 'something_else_to_clean')
.EE
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""