bug-make
[Top][All Lists]
Advanced

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

[bug #712] GNU make can't handle spaces in pathnames


From: Mark K Cowan
Subject: [bug #712] GNU make can't handle spaces in pathnames
Date: Mon, 20 Apr 2015 05:48:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #15, bug #712 (project make):

Would it be possible to have a special target .NULL_DELIMITED_LISTS to tell
Make to use the null character as the list separator instead of whitespace?

That way we keep 100% backward compatability and also provide a simple way to
support whitespace in filenames.  This would also allow more complex
wildcard-ing such as:

    .NULL_DELIMITED_LISTS
    
    ...
    
    sources=$(shell find -name '*.in' {many predicates} -print0)
    targets=$(sources:%.in=%.out)
    
    ...
    
    %.out: %.in
        some-command < $^ > $@

Make would also automatically escape the whitespace in variables when building
shell commands.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?712>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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