aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx5
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;