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-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make