2
0
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:
Vladimir Prus
2003-05-14 10:08:39 +00:00
parent 0a1979840f
commit c2174e7da1

View File

@@ -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) ;
}
}