1 # /Clean clean
: targets
;
3 # Removes existing _targets_ when _clean_ is built
. clean is not a dependency
4 # of all
, and must be built explicitely for targets to be removed
7 actions piecemeal together existing Clean
{
16 actions quietly updated piecemeal together RmTemps
{
21 # convert
'target clean
' to
'target_clean
'
22 rule
--normalize
-cleans
-- {
25 _nt
= ; # new JAM_TARGETS
26 for _t
in $(JAM_TARGETS
) {
29 # have previous target
37 if $(_pt
) { _nt
+= $(_pt
) ; }
40 if $(_pt
) { _nt
+= $(_pt
) ; }
41 #Echo
"new targets:" $(_nt
) ;
42 JAM_TARGETS
= $(_nt
) ;
46 if "clean" in $(JAM_TARGETS
) {
47 --normalize
-cleans
-- ;