Why are the %-flags not expanded in the variable names in the extra outputs 
section? They are expanded in the order-only input section.

For example:

: foreach $(PROGS) | $(DEP_%B) |> ./%f > %o |> %B.output | $(EXTRA_%B)

Here the rule will run a list of programs (say unit tests), and collect 
their outputs. Some programs have extra dependencies (say some libraries) 
which are listed in the $(DEP_%B) variable. Some program output extra 
files, which are listed in the variable $(EXTRA_%B).

Except that this does not work. Tup does expand %B in $(DEP_%B), but not in 
$(EXTRA_%B).

Any reason why this is the case? Can this functionality be added?

Thank you,
Guillaume.

-- 
-- 
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