summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Node')
-rw-r--r--src/engine/SCons/Node/Alias.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/engine/SCons/Node/Alias.py b/src/engine/SCons/Node/Alias.py
index 276750f..f2c8f34 100644
--- a/src/engine/SCons/Node/Alias.py
+++ b/src/engine/SCons/Node/Alias.py
@@ -63,14 +63,6 @@ class Alias(SCons.Node.Node):
"""A "builder" for aliases."""
pass
- def set_bsig(self, bsig):
- """An alias has no signature."""
- self.bsig = None
-
- def set_csig(self, csig):
- """An alias has no signature."""
- self.csig = None
-
def current(self, calc):
"""If all of our children were up-to-date, then this
Alias was up-to-date, too."""
@@ -95,6 +87,14 @@ class Alias(SCons.Node.Node):
# what directory scons was run from. Alias nodes
# are outside the filesystem:
return 1
+
+ def get_contents(self):
+ """The contents of an alias is the concatenation
+ of all the contents of its sources"""
+ contents = ""
+ for kid in self.children(None):
+ contents = contents + kid.get_contents()
+ return contents
default_ans = AliasNameSpace()