From: Vaclav Slavik (gclbb-jamboost_at_[hidden])
Date: 2002-11-02 16:33:34
I'm experiencing a strange problem with bjam 3.1.2 (from Boost 1.29.0,
on Linux): an action associated with my own rule is executed twice
instead of once. Here's a sample file that shows it (it is a
simplified one that does not use Boost.Build rules and can be used
with ordinary Jam/MR):
Depends first : $(<) ; # so that we always have them
Depends $(<) : $(>) ;
Clean clean : $(<) ;
MakeLocate $(<) : $(LOCATE_SOURCE) ;
SEARCH on $(>) = $(SEARCH_SOURCE) ;
upf-idl2any -Lcxx -Iidl -o$(<:) $(>)
IDLHeader foo.h : foo.idl ;
This is bjam's output:
[vasek_at_wintermute code]$ bjam
...found 10 targets...
...updating 1 target...
...updated 1 target...
If I run bjam as "jam" or use FTJam, the target is only updated once.
I'm probably missing something about Boost.Build, but I don't know
what :( Any idea what am I doing wrong?
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