aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-07 14:37:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-07 14:37:08 +0200
commit4854da9ba94fc107ff3dcd7eac4e12cecacd9b2e (patch)
tree44c7dceeb85132c65008f94b24888b8cfc7985e7 /build2/algorithm
parentb7c0293598d45f052a41c3ed6580d98801280cd7 (diff)
Remove the depdb (.d) files when cleaning
Diffstat (limited to 'build2/algorithm')
-rw-r--r--build2/algorithm7
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/algorithm b/build2/algorithm
index f0f2fbf..7c9239d 100644
--- a/build2/algorithm
+++ b/build2/algorithm
@@ -209,10 +209,15 @@ namespace build2
default_action (action, target&);
// Standard perform(clean) action implementation for the file target
- // or derived.
+ // (or derived).
//
target_state
perform_clean (action, target&);
+
+ // As above, but also removes the auxiliary dependency database (.d file).
+ //
+ target_state
+ perform_clean_depdb (action, target&);
}
#include <build2/algorithm.ixx>