Hi Paul, I have one patch in my -bk patch-set which, IMO, has no reason of not being in the main trunk. It implements dontcare flag inheritance which, combined with your recent changes to the dontcare machinery, fixes both bugs described here
http://mail.gnu.org/archive/html/bug-make/2004-02/msg00014.html Here is the makefile that triggers the bug (could be added to regression tests): -include bar hello: @echo hello bar : foo cp foo bar Another patch, which I think you may be interested in, is pattern-specific-expansion.patch. Here is the description: The following makefile prints 'B' instead of 'A'. a := A %bar : arg := $a %bar : ; @echo $(arg) a := B foobar: The patch adds additional expansion at pattern definition point for simple variables (i.e. declared with :=). Also note that you can inhibit this additional expansion if you want to: %bar : arg := $a $$a With this change the makefile above prints 'A B'. I remember you promised to take a look at this but I never heard back from you ;-). You can get the patch-set from here: ftp://kolpackov.net/pub/projects/make/bk/ Each patch is individually-applicable. hth, -boris
signature.asc
Description: Digital signature
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make