From d9745e79083e12a2c3eb129a20fc20be3607a4c3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Dec 2021 14:05:59 +0200 Subject: Automatically register pattern rules for dist meta-operation We need to do this in order to inject additional pattern prerequisites which may "pull" additional sources into the distribution. --- libbuild2/rule.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/rule.hxx') diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index 3eb7775..364e3ff 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -149,6 +149,11 @@ namespace build2 // auxiliary data storage until the pattern's apply_*() calls have been // made. // + // Note also that when used as part of a pattern, the rule is also register + // for the dist meta-operation (unless there is an explicit recipe for dist) + // in order to inject additional pattern prerequisites which may "pull" + // additional sources into the distribution. + // // Note: not exported. // class adhoc_rule_pattern; -- cgit v1.1