automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [PATCH] [ng] silent: simplify by taking advantage of G


From: Stefano Lattarini
Subject: Re: [Automake-NG] [PATCH] [ng] silent: simplify by taking advantage of GNU make semantics
Date: Mon, 18 Jun 2012 15:31:43 +0200

On 06/18/2012 02:35 PM, Akim Demaille wrote:
> 
> Le 18 juin 2012 à 11:54, Stefano Lattarini a écrit :
> 
>> +* The silent rules support has been simplified to take advantage
>> +  of more GNU make features.  Among other things, the AC_SUBST'd
>> +  variables '@AM_V@' and'@AM_DEFAULT_V@' have been removed.  Now,
>> +  when defining uses custom silent rules, you should do something
>> +  like:
>> +
>> +      # Modern correct way.
>> +      pkg_verbose_0 = @echo PKG-GEN $@;
>> +      pkg_verbose_1 =
>> +      pkg_verbose = $(pkg_verbose_$(V))
> 
> You meant to use /, not _.
>
Right, fixed.

>> +
>> +  while the old idiom would have been something like:
>> +
>> +      # Old obsolete way, won't work anymore.
>> +      pkg_verbose = $(address@hidden@)
>> +      pkg_verbose_ = $(address@hidden@)
>> +      pkg_verbose_0 = @echo PKG-GEN $@;
> 
> nice!
>
Thanks.

Regards,
  Stefano



reply via email to

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