diff options
-rw-r--r-- | build/operation.cxx | 10 |
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. |