help-make
[Top][All Lists]
Advanced

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

Re: .VARIABLES in 3.81


From: Paul Smith
Subject: Re: .VARIABLES in 3.81
Date: Tue, 12 Apr 2011 12:22:15 -0400

On Tue, 2011-04-12 at 14:36 +0430, ali hagigat wrote:
> e12:
>     @echo insidee12
>     @echo $(.VARIABLES)
> 
> insidee12
> /bin/sh: D: No such file or directory
> make: *** [e12] Error 1
> ----------------------------------
> Why the error is generated?

I've already given you advice on testing make features which, had you
followed it, would have avoided the problem.

First, NEVER PREFIX YOUR RECIPES WITH "@".  That simply hides important
information that will let you see what's wrong for yourself.

Second, when showing variables using commands like echo or printf in a
recipe, ALWAYS SINGLE-QUOTE THE OUTPUT.

If you'd written this following these rules, e.g.:

    e12:
            echo '$(.VARIABLES)'

then you would not have needed to ask the question.





reply via email to

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