diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-21 09:39:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-21 09:39:57 +0200 |
commit | 10604d850510e46b2ee625548abe5eb9a1172a0d (patch) | |
tree | 0a301d0d69afe2123a406afeeff03f7fe89c4433 /build/rule.cxx | |
parent | cb8399da1f0b1c5f28e443c98bfc3cb4e12b8cbf (diff) |
Add alias{} target type, use as base for dir{}
Diffstat (limited to 'build/rule.cxx')
-rw-r--r-- | build/rule.cxx | 6 |
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); |