[Top][All Lists]

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

Re: Possible bug (documentation or make itself) not sure

From: Philip Guenther
Subject: Re: Possible bug (documentation or make itself) not sure
Date: Tue, 6 Nov 2012 18:50:14 -0800

On Tue, Nov 6, 2012 at 4:02 PM, LANGLOIS Olivier PIS -EXT
<address@hidden> wrote:
> In section 6.11:
> Target-specific variable assignments can be prefixed with any or all of the 
> special keywords export, override, or private; these apply their normal 
> behavior to this instance of the variable only.
> the way I read it is that you can specify one or many special keywords. If I 
> try to use 2, I get an error message. As soon, as I remove one of them, make 
> works as expected.
> Maybe it is the wording that is misleading the 'any or all' may be meaning 
> 'none or any one of the special keywords'.
> address@hidden:~/devel/make_test$ cat makefile
> .PHONY: datapluglib
> datapluglib : export override CC = g++
> datapluglib:
>         echo $(CC)
> address@hidden:~/devel/make_test$ make
> make: *** No rule to make target `export', needed by `datapluglib'.  Stop.
> address@hidden:~/devel/make_test$ make --version
> GNU Make 3.81

No, the docs are correct *for the current version of GNU make*.  You
need to either
a) upgrade to the current version, or
b) read the documentation that was included in the version that you
have installed; try running "info make"

I suggest you also yell at your distribution for both not providing
the current version *and* for not pointing you at the correct
documentation for the version that they are shipping.

Philip Guenther

reply via email to

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