Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2006-12-06 12:20:55


Vladimir Prus wrote:
> On Wednesday 06 December 2006 05:40, Deane Yang wrote:
>> In the documentation of Boost Build v2 (specifically,
>>
>> http://boost.sourceforge.net/boost-build2/doc/html/bbv2/tasks/installing.html
>>
>> )
>>
>> it states that the install rule can be used to install built target and
>> arbitrary files. But I can't find any explanation for how to install an
>> arbitrary file that does not correspond to any target type. For example,
>> a *.txt file. Can someone tell me how to do this?
>
> It would have helped if you provide a example project that does not work. The following Jamroot
> works fine for me:
>
> install dist : a.txt ;
>
>

I'm sorry. I tried just putting the file name in the target list, and it
didn't work for me, so it never occurred to me that I was doing it
correctly.

So I've confirmed that if I create a project from scratch and do as you
describe above, it seems to work. But it doesn't work for the project I
am actually working with. I don't particularly want to post that whole
project, but I'm also not able yet to reproduce the problem with a
simpler project. So I guess I'll have to struggle with this myself for a
while.

Thanks for your help.

Deane


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