diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-02 14:05:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-02 14:05:59 +0200 |
commit | d9745e79083e12a2c3eb129a20fc20be3607a4c3 (patch) | |
tree | 5bd71b70e54c8a882d25c58973a150ed63763a4b /libbuild2/rule.hxx | |
parent | bf67c830cef225f4521777eecef5ad50a9238ba0 (diff) |
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.
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r-- | libbuild2/rule.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; |