mirror of
https://github.com/boostorg/boost.git
synced 2025-04-10 07:14:54 +00:00
Fix deficient algorithm finding the headers to install. (merge from head)
[SVN r34438]
This commit is contained in:
parent
086103270e
commit
7ce4ada92a
1 changed files with 17 additions and 2 deletions
19
Jamfile.v2
19
Jamfile.v2
|
@ -96,6 +96,7 @@ import modules ;
|
|||
import set ;
|
||||
import stage ;
|
||||
import package ;
|
||||
import path ;
|
||||
|
||||
constant BOOST_VERSION : 1.34.0 ;
|
||||
|
||||
|
@ -242,14 +243,28 @@ rule tag ( name : type ? : property-set )
|
|||
# Install to system location.
|
||||
|
||||
local patterns = *.hpp *.ipp *.h *.inc ;
|
||||
local dirs = boost boost/* boost/*/* ;
|
||||
local dir = boost ;
|
||||
local headers ;
|
||||
while $(dir)
|
||||
{
|
||||
local files = [ glob $(dir)/$(patterns) ] ;
|
||||
if $(files)
|
||||
{
|
||||
headers += $(files) ;
|
||||
dir = $(dir)/* ;
|
||||
}
|
||||
else
|
||||
{
|
||||
dir = ;
|
||||
}
|
||||
}
|
||||
|
||||
# Complete install
|
||||
package.install install
|
||||
: <install-source-root>. # No specific requirements
|
||||
: # No binaries
|
||||
: libs/$(libraries)/build
|
||||
: [ glob $(dirs)/$(patterns) ]
|
||||
: $(headers)
|
||||
;
|
||||
|
||||
# Install just library.
|
||||
|
|
Loading…
Add table
Reference in a new issue