Documentation error

View: New views
2 Messages — Rating Filter:   Alert me  

Documentation error

by mohamed hassanine aissa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Sir or Madam,
I think i've found a little error in the documentation of GNU make:
section  : 9.5 Overriding Variables
 
citation "An argument that contains `=' specifies the value of a variable: `v=x' sets the value of the variable v to x"
 
error: v=x sets the value of the variable x to v and not v to x.
yours

 



Neu, Besser, Hotmail! Die neuen Features sind da.
_______________________________________________
Bug-make mailing list
Bug-make@...
http://lists.gnu.org/mailman/listinfo/bug-make

Re: Documentation error

by Paul Smith-20 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-16 at 10:01 +0100, mohamed hassanine aissa wrote:
> Dear Sir or Madam,
> I think i've found a little error in the documentation of GNU make:
> section  : 9.5 Overriding Variables
>  
> citation "An argument that contains `=' specifies the value of a
> variable: `v=x' sets the value of the variable v to x"
>  
> error: v=x sets the value of the variable x to v and not v to x.
> yours

Nope, I think the docs are right.  v=x sets the value of the variable
named "v" to the value "x", which is what the docs say.

In other words, FOO=bar sets the (value of the) variable FOO to the
string "bar".

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


_______________________________________________
Bug-make mailing list
Bug-make@...
http://lists.gnu.org/mailman/listinfo/bug-make