Boost logo

Boost-Build :

From: Felix E. Klee (felix.klee.jamboost_at_[hidden])
Date: 2003-01-10 06:17:13


Hi,

I found another discrepancy between Boost 1.29.0 Jam and Perforce Jam 2.4. My
Jamfile contains
rule copy-it {
DEPENDS all : $(1) ;
}
actions copy-it {
cp $(1:S=.src) $(1)
}
copy-it foo.dst ;
When calling it with Perforce Jam I get
jam-2.4/bin.linuxx86/jam -d2 -sBOOST_ROOT=$HOME/local/lib/boost#
...found 8 target(s)...
...updating 1 target(s)...
copy-it foo.dst

cp foo.src foo.dst

...updated 1 target(s)...
but when calling it with Boost Jam I get
jam -d2 -sBOOST_ROOT=$HOME/local/lib/boost
...found 9 targets...
...updating 1 target...
copy-it foo.dst

cp foo.src foo.dst

copy-it foo.dst

cp foo.src foo.dst

...updated 1 target...
So, with Perfoce Jam the copy-it actions get called twice. Why is that? What
am I doing wrong?

Felix

-- 
To contact me personally don't reply but send email to 
felix DOT klee AT inka DOT de
 

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