Examine the jam file below. What I want to happen is
that bee is built if and only if cigar is changed by
the call to build. What happens is bee always builds.
Is there a way to get what I want?
----------------------------
Depends all : ant ;
Depends ant : bee ;
Depends bee : cigar ;
Always cigar ;
rule MyRule
{
TouchFile $(1) ;
}
actions TouchFile
{
touch $(1)
}
rule MyRule2
{
Build $(1) ;
}
actions Build
{
build $(1)
}
MyRule ant ;
MyRule bee ;
MyRule2 cigar ;