bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make doesn't take the shortest stem


From: Paul Smith
Subject: Re: make doesn't take the shortest stem
Date: Mon, 01 Jun 2015 13:27:53 -0400

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
fall).

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]