From e6f8658c72ad837e3cbd0df9b31ace9686c59048 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 9 Jun 2018 17:54:31 +0200 Subject: Handle fsdir{} prerequsites during installation --- build2/install/rule.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build2/install/rule.hxx') 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. // -- cgit v1.1