bug-make
[Top][All Lists]
Advanced

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

Possible bug (documentation or make itself) not sure


From: LANGLOIS Olivier PIS -EXT
Subject: Possible bug (documentation or make itself) not sure
Date: Wed, 7 Nov 2012 00:02:02 +0000

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
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu


________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.



reply via email to

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