aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dist/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-27 14:23:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-27 14:23:18 +0200
commit14c7d434df62989fbceef8322f61400844bd5943 (patch)
tree0b89e169d597d2ad264cdabeee2df1136ca80587 /libbuild2/dist/rule.hxx
parent9e47b1fdea6fe589c531c5c649a9f1c22bc3a029 (diff)
See through lib{} group during dist
Diffstat (limited to 'libbuild2/dist/rule.hxx')
-rw-r--r--libbuild2/dist/rule.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/dist/rule.hxx b/libbuild2/dist/rule.hxx
index df32de5..edcface 100644
--- a/libbuild2/dist/rule.hxx
+++ b/libbuild2/dist/rule.hxx
@@ -19,8 +19,10 @@ namespace build2
// This is the default rule that simply matches all the prerequisites.
//
// A custom rule (usually the same as perform_update) may be necessary to
- // establish group links (so that we see the dist variable set on a
- // group).
+ // establish group links (so that we see the dist variable set on a group)
+ // or to see through non-see-through groups (like lib{}; see the
+ // bin::lib_rule for an example). Note that in the latter case the rule
+ // should "see" all its members for the dist case.
//
class rule: public build2::rule
{