aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-21 16:03:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-21 16:03:05 +0200
commitbead742dbac51088e89cdd4dd7a55aaa1d8c98d7 (patch)
tree9a037bf85b27a88a9a12d664085b2456d363bb89
parent4be404cd8b7f4c7b450364defea92cd02e9b7a62 (diff)
Be quiet when running pre/post operations
-rw-r--r--build/operation.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/build/operation.cxx b/build/operation.cxx
index 6b3b08d..cff0802 100644
--- a/build/operation.cxx
+++ b/build/operation.cxx
@@ -137,7 +137,10 @@ namespace build
}
case target_state::unchanged:
{
- info << diag_already_done (a, t);
+ // Be quiet in pre/post operations.
+ //
+ if (a.outer_operation () == 0)
+ info << diag_already_done (a, t);
break;
}
case target_state::changed:
@@ -171,7 +174,10 @@ namespace build
}
case target_state::unchanged:
{
- info << diag_already_done (a, t);
+ // Be quiet in pre/post operations.
+ //
+ if (a.outer_operation () == 0)
+ info << diag_already_done (a, t);
break;
}
case target_state::unknown: // Assume something was done to it.