aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/version/rule.hxx')
-rw-r--r--libbuild2/version/rule.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/libbuild2/version/rule.hxx b/libbuild2/version/rule.hxx
index ddc5e11..0bdc090 100644
--- a/libbuild2/version/rule.hxx
+++ b/libbuild2/version/rule.hxx
@@ -20,16 +20,21 @@ 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&,
+ optional<uint64_t>,
+ const substitution_map*,
const optional<string>&) const override;
};
@@ -41,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;