On Wed, Dec 2, 2015 at 11:41 AM, Sanjoy Mahajan <[email protected]> wrote:
> What is the idiom for this pattern? The following notation modification > might be useful: > > : foreach *.asy except blah.asy |> asy -tex lualatex -f pdf %f |> %B.pdf > Mikhail recently added support for this with the '^' marker: : foreach *.asy ^blah.asy |> asy -tex lualatex -f pdf %f |> %B.pdf (commit dcf52e18a6f and a few others) > > Even easier: A target is rebuilt using the first rule that grabs it, as > with make (maybe with a warning about multiple rules?). But there could > well be problems with that approach that I don't see right away We might be able to overwrite the first command with the second while parsing, though I'm not sure off-hand what side-effects that would have. -Mike -- -- 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.
