Boost logo

Boost-Build :

Subject: Re: [Boost-build] Copy TCL script using install rule
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-11-18 04:55:05


Alexander Sack wrote:
> On Fri, Nov 14, 2008 at 9:02 AM, Johan Nilsson
> <r.johan.nilsson_at_[hidden]> wrote:
>> Alexander Sack wrote:
>>>
>>> Sill question, but why not just copy it in place since its not a
>>> binary?
>>

[snip]

>
>> It's not a silly question. I considered it myself, and might revert
>> to that unless I can find out another way.
>
> I only mention is because bjam manages installed targets and your
> script is sort of out-of-band in the context in which you described.

The script "is-a" target due to the usage of the make rule (which only,
quite unnecessarily, copies the script to a gristed target). Or did I
misunderstand your statement?

>
>> My main reason for not doing that is that I want to have a
>> consistent way of installing targets from Jamroot.
>
> In either case its consistent. The question is if there is an
> existing automated way to do what you are asking I suppose...

I'd like to have some way of expressing e.g. <install-type>SCRIPT in
addition to <install-type>EXE in the install rule (I think).

/ Johan


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