|
Boost-Build : |
Subject: Re: [Boost-build] Installing directories and sub dirs in Jamroot
From: Clovis Olson (clovero_at_[hidden])
Date: 2009-10-14 14:27:46
Thanks Juraj for the quick response.
I am receiving duplicate name:
/usr/share/boost-build/build/virtual-target.jam:1032: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pdist/release/tests/unit1>testresult.txt
error: previous virtual target { common%common.copy-testresult.txt. { tests/unit1/100/testresult.txt. } }
error: created from ./testcopy
error: another virtual target { common%common.copy-testresult.txt. { tests/unit1/200/testresult.txt. } }
error: created from ./testcopy
error: added properties: none
error: removed properties: none
Is there a way to get around this?
thanks,
cleo
________________________________
From: Juraj IvanÄiÄ <juraj.ivancic_at_[hidden]>
To: boost-build_at_[hidden]
Sent: Wed, October 14, 2009 12:49:27 AM
Subject: Re: [Boost-build] Installing directories and sub dirs in Jamroot
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/
;
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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