aboutsummaryrefslogtreecommitdiff
path: root/build/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-03 13:10:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-03 13:10:28 +0200
commit0db17bfec8b3b6c436f3c9c346d17d98458c3654 (patch)
treec9dcd1d7678972b0a40450b21a7d23dd6ec1121b /build/install
parent3a2efbc3d33c70aa5d0a87c9a1d16b458541bdde (diff)
match_only and dependents count rework, part 1
Diffstat (limited to 'build/install')
-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