2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Can't really remove command-files until <find-library> arguments are accounted for in their dependencies.

[SVN r12923]
This commit is contained in:
Dave Abrahams
2002-02-24 05:18:22 +00:00
parent 145b38dd54
commit cb2e3da94f
2 changed files with 6 additions and 4 deletions

View File

@@ -1722,7 +1722,7 @@ rule with-command-file ( rule-name targets * : sources * )
{
# create a command-file target and place it where the first target
# will be built
local command-file = $(<[2]:S=.CMD) ;
local command-file = $(targets[1]:S=.CMD) ;
LOCATE on $(command-file) = $(gLOCATE($(targets[1]))) ;
build-command-file $(command-file) : $(sources) ;
@@ -1731,7 +1731,8 @@ rule with-command-file ( rule-name targets * : sources * )
local result = [ $(rule-name) $(targets) : $(command-file) ] ;
# clean up afterwards
remove-command-file $(targets) : $(command-file) ;
# Can't really do this until <find-library> arguments are accounted for.
# remove-command-file $(targets) : $(command-file) ;
return result ;
}

View File

@@ -1722,7 +1722,7 @@ rule with-command-file ( rule-name targets * : sources * )
{
# create a command-file target and place it where the first target
# will be built
local command-file = $(<[2]:S=.CMD) ;
local command-file = $(targets[1]:S=.CMD) ;
LOCATE on $(command-file) = $(gLOCATE($(targets[1]))) ;
build-command-file $(command-file) : $(sources) ;
@@ -1731,7 +1731,8 @@ rule with-command-file ( rule-name targets * : sources * )
local result = [ $(rule-name) $(targets) : $(command-file) ] ;
# clean up afterwards
remove-command-file $(targets) : $(command-file) ;
# Can't really do this until <find-library> arguments are accounted for.
# remove-command-file $(targets) : $(command-file) ;
return result ;
}