diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CHANGES.txt | 3 | ||||
| -rw-r--r-- | src/engine/SCons/Script/Main.py | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 906f31f..fd264e0 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -381,6 +381,9 @@ RELEASE 0.97 - XXX files built along with the target is out of date or non-existent, not just if the command-line target itself is out of date. + - Fix the -n option when used with -c to print all of the targets + that will be removed for a multi-target Builder call. + From Georg Mischler: - Remove the space after the -o option when invoking the Borland diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index a5e07b4..2ffe97b 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -224,8 +224,10 @@ class CleanTask(SCons.Taskmaster.Task): def show(self): target = self.targets[0] - if (target.has_builder() or target.side_effect) and not target.isdir(): - display("Removed " + str(target)) + if target.has_builder() or target.side_effect: + for t in self.targets: + if not t.isdir(): + display("Removed " + str(t)) if SCons.Environment.CleanTargets.has_key(target): files = SCons.Environment.CleanTargets[target] for f in files: |
