[PATCH] test: don't use $(dir) in recipes.

2014-03-09 Thread David Bremner
David Bremner writes: > According the semantics of make, the expansion of $(dir) in recipes > uses dynamic scope, i.e. the value at the time the recipe is run. This > means if test/Makefile.local is not the last sub-makefile included, > all heck breaks loose. > --- > > This was originally part of

Re: [PATCH] test: don't use $(dir) in recipes.

2014-03-09 Thread David Bremner
David Bremner writes: > According the semantics of make, the expansion of $(dir) in recipes > uses dynamic scope, i.e. the value at the time the recipe is run. This > means if test/Makefile.local is not the last sub-makefile included, > all heck breaks loose. > --- > > This was originally part of

[PATCH] test: don't use $(dir) in recipes.

2014-03-08 Thread David Bremner
According the semantics of make, the expansion of $(dir) in recipes uses dynamic scope, i.e. the value at the time the recipe is run. This means if test/Makefile.local is not the last sub-makefile included, all heck breaks loose. --- This was originally part of some suggested changes to Jani's fol

[PATCH] test: don't use $(dir) in recipes.

2014-03-08 Thread David Bremner
According the semantics of make, the expansion of $(dir) in recipes uses dynamic scope, i.e. the value at the time the recipe is run. This means if test/Makefile.local is not the last sub-makefile included, all heck breaks loose. --- This was originally part of some suggested changes to Jani's fol