[Top][All Lists]

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

Re: make doesn't take the shortest stem

Subject: Re: make doesn't take the shortest stem
Date: Mon, 1 Jun 2015 22:58:10 +0200

Thank you for your explanations.
I didn't noticed that my make version was so old, it's the default one with Ubuntu 14.04.

On Mon, Jun 1, 2015 at 7:27 PM, Paul Smith <address@hidden> wrote:
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.

reply via email to

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