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: Akim Demaille
Subject: Re: [Automake-NG] [PATCH] [ng] silent: simplify by taking advantage of GNU make semantics
Date: Mon, 18 Jun 2012 14:35:44 +0200

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 _.

> +
> +  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!


reply via email to

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