aboutsummaryrefslogtreecommitdiff
path: root/build2/install/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install/rule.hxx')
-rw-r--r--build2/install/rule.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/build2/install/rule.hxx b/build2/install/rule.hxx
index 32c6889..8bb2fa3 100644
--- a/build2/install/rule.hxx
+++ b/build2/install/rule.hxx
@@ -46,6 +46,19 @@ namespace build2
static const alias_rule instance;
};
+ class fsdir_rule: public rule
+ {
+ public:
+ virtual bool
+ match (action, target&, const string&) const override;
+
+ virtual recipe
+ apply (action, target&) const override;
+
+ fsdir_rule () {}
+ static const fsdir_rule instance;
+ };
+
// In addition to the alias rule's semantics, this rule sees through to
// the group's members.
//