[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20133] 'make -p' always uses ':=' for pattern-specific variable as
From: |
Agent Zhang |
Subject: |
[bug #20133] 'make -p' always uses ':=' for pattern-specific variable assignments |
Date: |
Sat, 09 Jun 2007 17:37:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty) |
URL:
<http://savannah.gnu.org/bugs/?20133>
Summary: 'make -p' always uses ':=' for pattern-specific
variable assignments
Project: make
Submitted by: agent
Submitted on: Saturday 06/09/2007 at 17:37
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: Any
Fixed Release: None
_______________________________________________________
Details:
Hi~
I've found that "make --print-data-base" produces the following bogus output
for the pattern-specific variable assignment "%.x: FOO = $(BAR)":
# Pattern-specific Variable Values
%.x :
# makefile (from `a.mk', line 1)
# FOO := $$(BAR)
You see, it's totally wrong...Also, 'make -p' lazily treats both "+=" and
"?=" as ":=". Sigh.
It's worth mentioning that target-specific variable assignments work fine
though.
As I mentioned earlier in bug-make that I've been building a makefile AST
evaluator in Perl atop the database printing feature of make. Now that I've
successfully passed 45% of the official test suite, fixing bugs like this
will definitely help me (and other people in the future?) proceed more
smoothly :)
Thanks!
agentz
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20133>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #20133] 'make -p' always uses ':=' for pattern-specific variable assignments,
Agent Zhang <=