mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Fix a latent bug.
* new/virtual-target.jam (abstract-file-target.actualize-action): Don't set up clean action here; the previous code worked by accident anyway, because 'name' variable was not declared in any reasonable way. (action.actualize): Set up clean action here, close to the place where updating action is set up. [SVN r18395]
This commit is contained in:
@@ -282,15 +282,7 @@ rule abstract-file-target ( name
|
||||
{
|
||||
if $(self.action)
|
||||
{
|
||||
# ### Not sure what this was used for
|
||||
# if $(name:D)
|
||||
# {
|
||||
# errors.error
|
||||
# "name for constructed target includes directory" ;
|
||||
# }
|
||||
|
||||
$(self.action).actualize ;
|
||||
common.Clean clean : $(name) ;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -612,6 +604,9 @@ rule action ( targets + : sources * : action-name + : property-set ? )
|
||||
|
||||
$(self.action-name)
|
||||
$(actual-targets) : $(self.actual-sources) : $(properties) ;
|
||||
# Since we set up creating action here, we also set up
|
||||
# action for cleaning up
|
||||
common.Clean clean : $(actual-targets) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user