[Top][All Lists]

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

Re: [bug] (un)escaping problem in the makefile database output

From: Paul Smith
Subject: Re: [bug] (un)escaping problem in the makefile database output
Date: Mon, 04 Jun 2007 09:34:04 -0400

On Mon, 2007-06-04 at 11:19 +0800, Agent Zhang wrote:
> Or is it indeed intentional by design and the database is not supposed
> to be in strictly-valid makefile notation anyway? I'm not sure, so I
> think it may be wise to ask here first before firing off a bug report
> to Savannah.

It's certainly not intentionally one way or the other: the output from
-p is intended as a debugging tool for users.  I don't believe it was
ever intended to be used as valid makefile input into another program
(or even back into GNU make itself).  And there's certainly no intent to
make it an _invalid_ makefile either.  I expect the lack of quoting for
the # is nothing more or less than oversight or laziness (and I mean
laziness in the good, Larry Wall way :-)).

Feel free to file an enhancement request on Savannah to have this

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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