diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-09 17:54:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-09 17:54:31 +0200 |
commit | e6f8658c72ad837e3cbd0df9b31ace9686c59048 (patch) | |
tree | fa4b72d33488c267f0fdcda36771e9316b45b2d2 /build2/install/rule.hxx | |
parent | 1898c3d67ef4cc5e7ec466aab4ca41ce32ad2f0d (diff) |
Handle fsdir{} prerequsites during installation
Diffstat (limited to 'build2/install/rule.hxx')
-rw-r--r-- | build2/install/rule.hxx | 13 |
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. // |