2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
[SVN r18334]
This commit is contained in:
Dave Abrahams
2003-04-30 01:33:51 +00:00
parent 9016ad3627
commit fc316f438b
2 changed files with 16 additions and 2 deletions

View File

@@ -20,11 +20,18 @@ include <jam-module>boost-base.jam ;
#
if $(JAM_VERSION) && $(JAM_VERSION:J="") >= 030101 && $(JAM_VERSION:J="") < 030104
{
# Only the last invocation of UPDATE takes effect; we must
# accumulate the entire list before invoking UPDATE. I always
# thought this was a confusing semantics, and probably the fact
# that the author of UPDATE got it wrong is proof.
local t ;
for local e in $(ARGV[2-])
{
if ! [ MATCH "^(-).*" : $(e) ]
{
UPDATE $(e) ;
t += $(e) ;
}
}
UPDATE $(t) ;
}

View File

@@ -20,11 +20,18 @@ include <jam-module>boost-base.jam ;
#
if $(JAM_VERSION) && $(JAM_VERSION:J="") >= 030101 && $(JAM_VERSION:J="") < 030104
{
# Only the last invocation of UPDATE takes effect; we must
# accumulate the entire list before invoking UPDATE. I always
# thought this was a confusing semantics, and probably the fact
# that the author of UPDATE got it wrong is proof.
local t ;
for local e in $(ARGV[2-])
{
if ! [ MATCH "^(-).*" : $(e) ]
{
UPDATE $(e) ;
t += $(e) ;
}
}
UPDATE $(t) ;
}