make-alpha
[Top][All Lists]
Advanced

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

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


From: Tim Murphy
Subject: Re: Output quoting (was: Re: Possible solution for special characters in makefile paths)
Date: Fri, 11 Apr 2014 14:05:47 +0100

On 11 April 2014 13:48, Eli Zaretskii <address@hidden> wrote:
>> Date: Fri, 11 Apr 2014 11:34:18 +0100
>> From: Tim Murphy <address@hidden>
>> Cc: Eli Zaretskii <address@hidden>, address@hidden
>>
>> I would love, for example, to have a macro that was evaluated every
>> time an automatic variable was expanded.  It would allow me to hook
>> into make for all sorts of useful purposes.
>>
>> even better if I knew which automatic variable was being expanded so
>> e.g. I could get a list of the targets in the makefile or all the
>> dependencies for target X.
>
> Then SHELL_QUOTE, whatever its name, is not what you want.  What you
> want is a way to write an extension (in C or in Guile) that would hook
> into this expansion, and let you do whatever you need.  IOW, you want
> to ask for infrastructure that would allow extensions to do things
> like that (I don't think we have such an infrastructure right, but
> maybe I'm mistaken).

Actually I do not want a hook or Guile. I want to use make's inbuilt
capabilities which are already there. You're suggesting a major new
feature where I'm suggesting a slight generalisation of one that opens
the door to other use cases..

> Let's not (ab)use quoting for things it is not supposed to provide and
> support.

Abuse in this case just means "a usecase I didn't think of".  So
here's the chance to think of it.

Regards,

Tim



-- 
You could help some brave and decent people to have access to
uncensored news by making a donation at:

http://www.thezimbabwean.co.uk/friends/



reply via email to

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