Hello,

I have some commands in my build system that do not take the input files 
from the command line but have hardcoded input paths. My Tupfile looks 
basically like this:

: foreach src/*.in |> genx %f -o %o |> tmp/%B.out tmp/<out>

: tmp/<out> |> geny -o %o |> build/mainy
: tmp/<out> |> genz -o %o |> build/mainz

So some command generates files in tmp/, then geny and genz basically grab 
tmp/*.out to build two main files. So far so good.

But when I add a new *.in file in src/ tup will only execute the first line 
and not the last two. As a work-around I've added ;: %<out> to the last two 
commands, but that feels like a dirty hack, which I don't want in my build 
system, otherwise I would still use make :-)

Is there a more idiomatic way to have the group as a real dependency?

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to