[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] pattern-specific variable expansion
From: |
Boris Kolpackov |
Subject: |
[PATCH] pattern-specific variable expansion |
Date: |
Fri, 9 Apr 2004 14:01:52 -0500 |
User-agent: |
Mutt/1.5.4i |
Good day,
The following makefile prints 'B' instead of 'A'.
a := A
%bar : arg := $a
%bar : ; @echo $(arg)
a := B
foobar:
Patch is attached for those who find this behavior surprising.
Also note that this patch does not address the following cases:
%bar : a := a
%bar : $a_b := a_b # doesn't work, equivalent to _b := a_b
%bar : a := a
%bar : a_b := $a_b # doesn't work, equivalent to a_b := _b
comments are welcome,
-boris
pattern-specific-expansion.patch
Description: Text document
signature.asc
Description: Digital signature
- [PATCH] pattern-specific variable expansion,
Boris Kolpackov <=