diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-23 20:07:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-23 20:07:26 +0200 |
commit | 4402d5fc6002769210bf06c97f6a3cc97f6e30ee (patch) | |
tree | b1cf3e59a6f1a21a56d5a9878cb65e9bef619653 /build2/algorithm.hxx | |
parent | 8f9ace8452b04bb8de2dec3af96ce241400e3e96 (diff) |
Add perform_clean_group(), use instead of ad hoc implementation in cli rule
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r-- | build2/algorithm.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx index 76e9d76..e8b9823 100644 --- a/build2/algorithm.hxx +++ b/build2/algorithm.hxx @@ -467,6 +467,12 @@ namespace build2 target_state perform_clean_depdb (action, const target&); + // As above but clean the target group. The group should be an mtime_target + // and members should be files. + // + target_state + perform_clean_group (action, const target&); + // Helper for custom perform(clean) implementations that cleans extra files // and directories (recursively) specified as a list of either absolute // paths or "path derivation directives". The directive string can be NULL, |