Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2008-06-04 09:01:44


Maybe <install-source-root>CopyMeDir would work for you?

http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/installing.html#id2561109

Phillip

Bilokon, Paul wrote:
> Many thanks, Jurko,
>
> This is almost what I need -- unfortunately, it flattens out the directories, so I don't get the directory tree.
>
> E.g.
>
> CopyMeDir (d)
> CopyMeDir/bar (d)
> CopyMeDir/bar/hello.txt
> CopyMeDir/foo (d)
> CopyMeDir/foo/test.txt
>
> Become
>
> DestDir (d)
> DestDir/hello.txt
> DestDir/test.txt
>
> So bar and foo are lost.
>
> Many thanks for your help!
>
> Regards,
> Paul
>
> -----Original Message-----
> From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Jurko Gospodnetic
> Sent: Wednesday, June 04, 2008 1:35 PM
> To: boost-build_at_[hidden]
> Subject: Re: [Boost-build] Suppressing Variant Directories
>
> Hi Paul.
>
>
>> What about copying directory trees in Bjam? I can't get "install" to achieve this.
>>
>
> You can use the install rule in combination with any of the globbing rules.
>
> For example:
>
> install somewhereOverTheRainbow
> :
> [ path.glob-tree gugu/gaga/data : *.* : .svn ] ;
>
>
>
> Hope this helps.
>
> Best regards,
> Jurko Gospodnetiæ
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
>
>
>
> _______________________________________________
> 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