diff options
Diffstat (limited to 'libbuild2/version/rule.hxx')
-rw-r--r-- | libbuild2/version/rule.hxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libbuild2/version/rule.hxx b/libbuild2/version/rule.hxx index f9e7655..0bdc090 100644 --- a/libbuild2/version/rule.hxx +++ b/libbuild2/version/rule.hxx @@ -20,16 +20,22 @@ namespace build2 class in_rule: public in::rule { public: - in_rule (): rule ("version.in 2", "version.in") {} + in_rule (): rule ("version.in 2", "version") {} virtual bool - match (action, target&, const string&) const override; + match (action, target&) const override; + + virtual recipe + apply (action, target&) const override; virtual string lookup (const location&, action, const target&, - const string&) const override; + const string&, + optional<uint64_t>, + const substitution_map*, + const optional<string>&) const override; }; // Pre-process manifest before installation to patch in the version. @@ -40,7 +46,7 @@ namespace build2 manifest_install_rule () {} virtual bool - match (action, target&, const string&) const override; + match (action, target&) const override; virtual auto_rmfile install_pre (const file&, const install_dir&) const override; |