From 327890fe2b5f8a73e69d383f96e77d33e3eb805e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 26 Feb 2015 21:08:43 -0600 Subject: [PATCH] Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that. --- src/build/virtual-target.jam | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/build/virtual-target.jam b/src/build/virtual-target.jam index 3ceb5a7af..822596f3a 100644 --- a/src/build/virtual-target.jam +++ b/src/build/virtual-target.jam @@ -446,9 +446,8 @@ class abstract-file-target : virtual-target errors.error @rulename is present but is not the only feature. ; } - self.name = [ indirect.call $(rule-name) $(specified-name) - : $(self.type) : $(ps) ] ; + : $(self.type) : $(ps) : $(__name__) ] ; } else {