Use the more efficient path.glob-tree instead of glob.

[SVN r35158]
This commit is contained in:
Rene Rivera 2006-09-18 05:44:00 +00:00
parent 013dbc1ce3
commit f8f22bf8a6

View file

@ -265,22 +265,10 @@ rule tag ( name : type ? : property-set )
# Install to system location.
local patterns = *.hpp *.ipp *.h *.inc ;
local dir = boost ;
local headers ;
while $(dir)
{
local files = [ glob $(dir)/$(patterns) ] ;
if $(files)
{
headers += $(files) ;
dir = $(dir)/* ;
}
else
{
dir = ;
}
}
local headers =
[ path.glob-tree boost : *.hpp *.ipp *.h *.inc ]
[ path.glob-tree boost/compatibility/cpp_c_headers : c* ]
;
local header-subdir ;
if $(layout-versioned) { header-subdir = boost-$(BOOST_VERSION_TAG) ; }