Boost logo

Boost-Build :

Subject: Re: [Boost-build] Installing directories and sub dirs in Jamroot
From: Juraj Ivančić (juraj.ivancic_at_[hidden])
Date: 2009-10-14 03:49:27


Clovis Olson wrote:
> As part of the install of a build, I need to copy the contents of some
> directories, including their subdirs.
> Do I need to place a jamfile in each of the directories/subdirs to use
> glob-tree?
> The directory struture is similar to:
> dir1
> subdir1
> subdir1a
> testresult
> subdir2
> testresult
>
> Would it be better to create an action/rule to use cp -rf?

You can use lower level path.glob-tree

import path ;

install dataToCopy
:
     [ path.glob-tree /path/aaa : *.* ]
:
     <location>/destination/path/
;


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk