bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30370] add a shorthand syntax for foreach-eval-call


From: Reinier Post
Subject: [bug #30370] add a shorthand syntax for foreach-eval-call
Date: Tue, 06 Jul 2010 15:22:59 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 FireTorrent/2.0.1 GTB7.1 ( .NET CLR 3.5.30729)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]