From 10604d850510e46b2ee625548abe5eb9a1172a0d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Jul 2015 09:39:57 +0200 Subject: Add alias{} target type, use as base for dir{} --- build/rule.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/rule.cxx') 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); -- cgit v1.1