aboutsummaryrefslogtreecommitdiff
path: root/build2/version/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-20 15:31:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-20 16:10:26 +0200
commitc1dc06dfd1d329f8c6499dbe2166725ab9c35e17 (patch)
tree97449ae7263490473a833944cfeb3d889a2f580d /build2/version/rule.hxx
parentb4286df8c9bafdab1934cef99ccc0506ec4555e2 (diff)
Implement bash module
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.