From 4402d5fc6002769210bf06c97f6a3cc97f6e30ee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 23 Aug 2017 20:07:26 +0200 Subject: Add perform_clean_group(), use instead of ad hoc implementation in cli rule --- build2/algorithm.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/algorithm.hxx') 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, -- cgit v1.1