mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Modified UPDATE builtin to: 1. clear the update list, 2. set the update list to the given targets, 3. return the previous update list. [SVN r16764]
31 lines
865 B
Plaintext
31 lines
865 B
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
|
|
{
|
|
for local e in $(ARGV[2-])
|
|
{
|
|
if ! [ MATCH "^(-).*" : $(e) ]
|
|
{
|
|
UPDATE $(e) ;
|
|
}
|
|
}
|
|
}
|