summaryrefslogtreecommitdiffstats
path: root/doc/generated/functions.gen
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2015-05-20 19:59:19 (GMT)
committerDirk Baechle <dl9obn@darc.de>2015-05-20 19:59:19 (GMT)
commitf0a8c4f4aea84a6a49ff087b87cc2a6c4a12f148 (patch)
tree1a06d45cb37394f21a9e11539ab4ac5572488fe6 /doc/generated/functions.gen
parent7ac97ed9d43883d1322dc1d3a775ccc6da049b26 (diff)
downloadSCons-f0a8c4f4aea84a6a49ff087b87cc2a6c4a12f148.zip
SCons-f0a8c4f4aea84a6a49ff087b87cc2a6c4a12f148.tar.gz
SCons-f0a8c4f4aea84a6a49ff087b87cc2a6c4a12f148.tar.bz2
- updated generated documentation, prior to release of 2.3.5
Diffstat (limited to 'doc/generated/functions.gen')
-rw-r--r--doc/generated/functions.gen15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/generated/functions.gen b/doc/generated/functions.gen
index 62a9ab3..3ad36e5 100644
--- a/doc/generated/functions.gen
+++ b/doc/generated/functions.gen
@@ -2426,10 +2426,10 @@ option.
</varlistentry>
<varlistentry id="f-Glob">
<term>
- <literal>Glob(pattern, [ondisk, source, strings])</literal>
+ <literal>Glob(pattern, [ondisk, source, strings, exclude])</literal>
</term>
<term>
- <literal>env.Glob(pattern, [ondisk, source, strings])</literal>
+ <literal>env.Glob(pattern, [ondisk, source, strings, exclude])</literal>
</term>
<listitem>
<para xmlns="http://www.scons.org/dbxsd/v1.0">
@@ -2543,12 +2543,23 @@ directory.)
</para>
<para xmlns="http://www.scons.org/dbxsd/v1.0">
+The
+<varname>exclude</varname>
+argument may be set to a pattern or a list of patterns
+(following the same Unix shell semantics)
+which must be filtered out of returned elements.
+Elements matching a least one pattern of
+this list will be excluded.
+</para>
+
+<para xmlns="http://www.scons.org/dbxsd/v1.0">
Examples:
</para>
<example_commands xmlns="http://www.scons.org/dbxsd/v1.0">
Program('foo', Glob('*.c'))
Zip('/tmp/everything', Glob('.??*') + Glob('*'))
+sources = Glob('*.cpp', exclude=['os_*_specific_*.cpp']) + Glob('os_%s_specific_*.cpp'%currentOS)
</example_commands>
</listitem>
</varlistentry>