automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [PATCH 06/26] [ng] texi: be sure to only emit generic


From: Stefano Lattarini
Subject: Re: [Automake-NG] [PATCH 06/26] [ng] texi: be sure to only emit generic pattern rules once
Date: Sun, 17 Jun 2012 10:01:26 +0200

On 06/17/2012 08:48 AM, Akim Demaille wrote:
> 
> Le 16 juin 2012 à 23:29, Stefano Lattarini a écrit :
> 
>> @@ -3183,6 +3177,20 @@ sub handle_texinfo ()
>>   if ($info_texinfos)
>>     {
>>       define_verbose_texinfo;
>> +      # Keep this list in sync with the $infobase transform done
>> +      # in &handle_texinfo_helper.
>> +      foreach my $valid_texinfo_suf (qw/texi texinfo txi/)
> 
> Wow.
> 
Huh?

>> +        {
>> +          $output_rules .= file_contents (
>> +              'texibuild', new Automake::Location,
>> +              AM_V_MAKEINFO    => verbose_flag('MAKEINFO'),
>> +              AM_V_TEXI2DVI    => verbose_flag('TEXI2DVI'),
>> +              AM_V_TEXI2PDF    => verbose_flag('TEXI2PDF'),
>> +              TEXIQUIET        => verbose_flag('texinfo'),
>> +              TEXIDEVNULL      => verbose_flag('texidevnull'),
> 
> These guys look like potential $(call am_v_gen,MAKEINFO) etc.
>
Actually, it's even simpler: now that we have the support for silent
rules enabled unconditionally in Automake-NG (as well as in Automake
master BTW), verbose_flag('foo') simply expands to '$(AM_V_foo)' (in
older Automake versions, including the 1.12.x series, it used to
expand to the empty string when the 'silent-rules' option was not
used).

Stefano



reply via email to

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