|Subject:||Re: make doesn't take the shortest stem|
|Date:||Mon, 1 Jun 2015 22:58:10 +0200|
On Mon, 2015-06-01 at 13:54 +0200, Meir BENAYOUN wrote:
> Item: Bug
> Privacy: Public
> Component Version: 3.81
> When several pattern rules match a target, the one with the shortest
> stem should be used as stated in the documentation:
You are using GNU make 3.81 (released in 2006) but reading the
documentation for the latest version of GNU make (4.1, released last
The feature described in the manual (shortest-stem matching) was
introduced in GNU make 3.82; your version doesn't support it.
>From the NEWS file:
> * WARNING: Backward-incompatibility!
> The pattern-specific variables and pattern rules are now applied in the
> shortest stem first order instead of the definition order (variables
> and rules with the same stem length are still applied in the definition
> order). This produces the usually-desired behavior where more specific
> patterns are preferred. To detect this feature search for 'shortest-stem'
> in the .FEATURES special variable.
|[Prev in Thread]||Current Thread||[Next in Thread]|