- Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
(by default, the same as $OBJPREFIX and $OBJSUFFIX).
+ - Add a Make-like message when asked to build a source file.
+
From Steven Knight and Anthony Roach:
- Man page: document the fact that Builder calls return Node objects.
def executed(self):
SCons.Taskmaster.Task.executed(self)
+ if not self.targets[0].builder and self.top:
+ print "scons: Nothing to be done for `%s'." % str(self.targets[0])
# print the tree here instead of in execute() because
# this method is serialized, but execute isn't:
if print_tree and self.top:
test.run(arguments = 'log.txt', stdout=test.wrap_stdout("""\
copy() < bar.in > bar.out
copy() < blat.in > blat.out
+scons: Nothing to be done for `log.txt'.
"""))
expect = """\
test.fail_test(test.read('aaa.out') != "aaa.in\n")
#
-test.run(arguments = "aaa.in", stdout = test.wrap_stdout(""))
+test.run(arguments = "aaa.in",
+ stdout = test.wrap_stdout("scons: Nothing to be done for `aaa.in'.\n"))
test.fail_test(not os.path.exists('aaa.in'))