mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and
|
|
# distribute this software is granted provided this copyright notice appears in
|
|
# all copies. This software is provided "as is" without express or implied
|
|
# warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
SEARCH on <jam-module>allyourbase.jam = $(BOOST_BUILD_PATH) ;
|
|
include <jam-module>allyourbase.jam ;
|
|
SEARCH on <jam-module>boost-base.jam = $(BOOST_BUILD_PATH) ;
|
|
include <jam-module>boost-base.jam ;
|
|
|
|
#
|
|
# Now include the user's Jamfile.
|
|
#
|
|
{
|
|
load-jamfiles $(JAMFILE) ;
|
|
}
|
|
|
|
#
|
|
# Cause the targets specified in the command line to be updated
|
|
#
|
|
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) ]
|
|
{
|
|
t += $(e) ;
|
|
}
|
|
}
|
|
UPDATE $(t) ;
|
|
}
|