aboutsummaryrefslogtreecommitdiff
path: root/build/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-21 09:39:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-21 09:39:57 +0200
commit10604d850510e46b2ee625548abe5eb9a1172a0d (patch)
tree0a301d0d69afe2123a406afeeff03f7fe89c4433 /build/rule.cxx
parentcb8399da1f0b1c5f28e443c98bfc3cb4e12b8cbf (diff)
Add alias{} target type, use as base for dir{}
Diffstat (limited to 'build/rule.cxx')
-rw-r--r--build/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/rule.cxx b/build/rule.cxx
index 6db0f4f..03c86c8 100644
--- a/build/rule.cxx
+++ b/build/rule.cxx
@@ -133,15 +133,15 @@ namespace build
return target_state::unchanged;
}
- // dir_rule
+ // alias_rule
//
- match_result dir_rule::
+ match_result alias_rule::
match (action, target& t, const string&) const
{
return t;
}
- recipe dir_rule::
+ recipe alias_rule::
apply (action a, target& t, const match_result&) const
{
search_and_match_prerequisites (a, t);