<!ENTITY acks SYSTEM "acks.sgml">
<!ENTITY bground SYSTEM "bground.sgml">
+ <!ENTITY copyright SYSTEM "copyright.sgml">
<!ENTITY engine SYSTEM "engine.sgml">
<!ENTITY goals SYSTEM "goals.sgml">
<!ENTITY install SYSTEM "install.sgml">
--- /dev/null
+<!--
+
+ Copyright (c) 2001, 2002 Steven Knight
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-->
+
+<blockquote>
+ <para>
+
+ Copyright (c) 2001, 2002 Steven Knight
+
+ </para>
+</blockquote>
<!ENTITY abstract SYSTEM "abstract.sgml">
<!ENTITY acks SYSTEM "acks.sgml">
+ <!ENTITY copyright SYSTEM "copyright.sgml">
<!ENTITY design SYSTEM "design.sgml">
<!ENTITY future SYSTEM "future.sgml">
<!ENTITY install SYSTEM "install.sgml">
-<!ENTITY copyright SYSTEM "copyright.sgml">
-
-
-
<!--
Other applications that we reference.
--- /dev/null
+<!--
+
+ Copyright (c) 2001, 2002 Steven Knight
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-->
+
+<blockquote>
+ <para>
+
+ Copyright (c) 2002 Steven Knight
+
+ </para>
+</blockquote>
<!ENTITY % scons SYSTEM "../scons.mod">
%scons;
- <!ENTITY preface SYSTEM "preface.sgml">
- <!ENTITY simple SYSTEM "simple.sgml">
- <!ENTITY environments SYSTEM "environments.sgml">
- <!ENTITY depends SYSTEM "depends.sgml">
- <!ENTITY more SYSTEM "more.sgml">
- <!ENTITY hierarchy SYSTEM "hierarchy.sgml">
- <!ENTITY variants SYSTEM "variants.sgml">
<!ENTITY builders SYSTEM "builders.sgml">
- <!ENTITY scanners SYSTEM "scanners.sgml">
- <!ENTITY repositories SYSTEM "repositories.sgml">
<!ENTITY caching SYSTEM "caching.sgml">
- <!ENTITY run SYSTEM "run.sgml">
- <!ENTITY troubleshoot SYSTEM "troubleshoot.sgml">
- <!ENTITY reference SYSTEM "reference.sgml">
+ <!ENTITY cons SYSTEM "cons.sgml">
+ <!ENTITY copyright SYSTEM "copyright.sgml">
+ <!ENTITY depends SYSTEM "depends.sgml">
+ <!ENTITY environments SYSTEM "environments.sgml">
<!ENTITY errors SYSTEM "errors.sgml">
<!ENTITY example SYSTEM "example.sgml">
+ <!ENTITY hierarchy SYSTEM "hierarchy.sgml">
<!ENTITY make SYSTEM "make.sgml">
- <!ENTITY cons SYSTEM "cons.sgml">
+ <!ENTITY more SYSTEM "more.sgml">
+ <!ENTITY preface SYSTEM "preface.sgml">
+ <!ENTITY reference SYSTEM "reference.sgml">
+ <!ENTITY repositories SYSTEM "repositories.sgml">
+ <!ENTITY run SYSTEM "run.sgml">
+ <!ENTITY scanners SYSTEM "scanners.sgml">
+ <!ENTITY simple SYSTEM "simple.sgml">
+ <!ENTITY troubleshoot SYSTEM "troubleshoot.sgml">
+ <!ENTITY variants SYSTEM "variants.sgml">
]>
- Allow Scanners to return a list of strings, and document how to
write your own Scanners.
+ - Look up implicit (scanned) dependencies relative to the directory
+ of file being scanned.
+
From Anthony Roach:
- Make the scons script return an error code on failures.
list = self.function(node, env, self.argument)
else:
list = self.function(node, env)
+ kw = {}
+ if hasattr(node, 'dir'):
+ kw['directory'] = node.dir
nodes = []
for l in list:
if not isinstance(l, SCons.Node.FS.Entry):
- l = self.node_factory(l)
+ l = apply(self.node_factory, (l,), kw)
nodes.append(l)
return nodes