Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-09-02 16:35:38


[2002-09-02] David Abrahams wrote:

>That's pretty thin information to work with. Who knows how your rules are
>used?

Thin info indeed :-) But most likely it's the V1 behaviour of parsing
Jamfiles twice. Once for include dependencies, and a second for generation.
Try guarding the action generation in your rules with:

if ! $(gIN_LIB_INCLUDE)
{
...
}

>----- Original Message -----
>From: "Daniel Schlyder" <daniel_at_[hidden]>
>To: "jamboost mailing list" <jamboost_at_[hidden]>
>Sent: Monday, September 02, 2002 11:59 AM
>Subject: [jamboost] Actions run (or just echo'ed?) twice (newbie)
>
>
>> Hi,
>>
>> I've made a couple of rules/actions for updating version numbers and
>> packaging distribution archives (see attached file). When triggered, I
>get
>> output like this:
>>
>> E:\code\basecode>bjam dist
>> ...found 106 targets...
>> ...updating 2 targets...
>> UpdateVersion-Action README.txt
>> UpdateVersion-Action README.txt
>> Package-Action dist\basecode-1.2.0.tar.bz2
>> Package-Action dist\basecode-1.2.0.tar.bz2
>> ...updated 2 targets...
>>
>> It looks like the actions are executed twice (or maybe just echo'ed?).
>How
>> can I prevent this from happening?
>>
>> In case it matters, I use MinGW-1.1 on Windows XP with Boost 1.28.0.
>>
>> --
>> Sincerely,
>> Daniel Schlyder
>>
>> To unsubscribe from this group, send an email to:
>> jamboost-unsubscribe_at_[hidden]
>>
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>
>
>
>
>To unsubscribe from this group, send an email to:
>jamboost-unsubscribe_at_[hidden]
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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