aboutsummaryrefslogtreecommitdiff
path: root/build/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/install/rule.cxx')
-rw-r--r--build/install/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/install/rule.cxx b/build/install/rule.cxx
index 5642388..890228c 100644
--- a/build/install/rule.cxx
+++ b/build/install/rule.cxx
@@ -127,10 +127,10 @@ namespace build
// will help a lot in case of any static installable content
// (headers, documentation, etc).
//
- // @@ This messes up the dependents count logic.
- //
if (pt.state () != target_state::unchanged)
t.prerequisite_targets.push_back (&pt);
+ else
+ pt.dependents--; // No intent to execute, so compensate.
}
// This is where we diverge depending on the operation. In the