aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/rule
diff options
context:
space:
mode:
Diffstat (limited to 'build2/dist/rule')
-rw-r--r--build2/dist/rule7
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/dist/rule b/build2/dist/rule
index db8e731..0a5cc3a 100644
--- a/build2/dist/rule
+++ b/build2/dist/rule
@@ -16,6 +16,13 @@ namespace build2
{
namespace dist
{
+ // This is the default rule that simply matches all the prerequisites.
+ //
+ // A custom rule (usually the same as perform_update) may be necessary to
+ // enter ad hoc prerequisites (like generated test input/output) or
+ // establishing group links (so that we see the dist variable set on a
+ // group).
+ //
class rule: public build2::rule
{
public: