aboutsummaryrefslogtreecommitdiff
path: root/build2/version/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/rule.hxx')
-rw-r--r--build2/version/rule.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/version/rule.hxx b/build2/version/rule.hxx
index afed11a..c3b41be 100644
--- a/build2/version/rule.hxx
+++ b/build2/version/rule.hxx
@@ -20,13 +20,16 @@ namespace build2
class in_rule: public in::rule
{
public:
- in_rule (): rule ("version.in 1", "ver") {}
+ in_rule (): rule ("version.in 1", "version.in") {}
virtual bool
match (action, target&, const string&) const override;
virtual string
- lookup (const location&, const target&, const string&) const override;
+ lookup (const location&,
+ action,
+ const target&,
+ const string&) const override;
};
// Pre-process manifest before installation to patch in the version.