URL:
<http://savannah.gnu.org/bugs/?30370>
Summary: add a shorthand syntax for foreach-eval-call
Project: make
Submitted by: r_p
Submitted on: Tue 06 Jul 2010 03:22:58 PM GMT
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
No bug, but something that has been on my wishlist for some 20 years:
In practically every Makefile I write, I want to parametrize rules with
multiple variables. It would be incredibly nice to have a shorthand syntax
for this, e.g.
progs = dot neato circo fdp
exts = emf ps png gif
%-$(p:progs).$(x:exts): %.dot
$(p) -T%(x) $? > $@
instead of having to use ugly, verbose workarounds such as foreach-eval-call.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30370>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make