From 183329b89ddf810e2df5c250ae5b97d8ebcbba74 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Mar 2017 14:33:54 +0200 Subject: Fix cli distribution via group --- build2/algorithm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build2/algorithm') diff --git a/build2/algorithm b/build2/algorithm index 2fa9fe4..dfe8c42 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -162,12 +162,13 @@ namespace build2 // Match a "delegate rule" from withing another rules' apply() function // avoiding recursive matches (thus the third argument). Return recipe and - // recipe action (if any). Note that unlike match(), this call doesn't - // increment the dependents count. See also the companion + // recipe action (if any). Unless fail is false, fail if not rule is found. + // Otherwise return empty recipe. Note that unlike match(), this function + // does not increment the dependents count. See also the companion // execute_delegate(). // pair - match_delegate (action, target&, const rule&); + match_delegate (action, target&, const rule&, bool fail = true); // The standard prerequisite search and match implementations. They call // search() and then match() for each prerequisite in a loop omitting out of -- cgit v1.1