Re: Output quoting (was: Re: Possible solution for special characters in makefile paths)

Eli Zaretskii <[email protected]> Thu, 10 Apr 2014 23:08:56 +0300
Newsgroups gmane.comp.gnu.make.devel
Message-ID <[email protected]>
> Date: Thu, 10 Apr 2014 19:40:34 +0200
> Cc: [email protected], [email protected]
> From: Frank Heckenbach <[email protected]>
> 
> I didn't say there was a contradiction. The only one, kind of, is
> that I think the quoting should be done automatically by default
> (e.g. by having SHELL_QUOTE set by default and used automatically).

Can you give an example, so I'm sure I'm on the same page as you are?

> This way, rules like this:
> 
>    %.x: %.y
>            process '$<' -o '$@'
> 
> will not continue to work if $</$@ contain special characters (which
> I think is not so bad because they already don't work if $</$@
> contain a certain special character, i.e. ').

So how would you suggest to handle the built-in rules such that they
will still work with file names that have embedded spaces?