From 0db17bfec8b3b6c436f3c9c346d17d98458c3654 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Aug 2015 13:10:28 +0200 Subject: match_only and dependents count rework, part 1 --- build/install/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/install') 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 -- cgit v1.1