Merge: Implement --show-libraries

[SVN r36613]
This commit is contained in:
Vladimir Prus 2007-01-06 14:17:30 +00:00
parent 6b2d61c466
commit 8b758fa4ce

View file

@ -250,6 +250,16 @@ PYTHON_ROOT ?= $(python-root) ;
# Select the libraries to install.
libraries = [ libraries-to-install $(all-libraries) ] ;
if --show-libraries in [ modules.peek : ARGV ]
{
ECHO "The following libraries require building:" ;
for local l in $(libraries)
{
ECHO " - $(l)" ;
}
EXIT ;
}
# Custom build ID.
local build-id = [ MATCH "^--buildid=(.*)" : [ modules.peek : ARGV ] ] ;
if $(build-id)