[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [FYI] [ng] texi: less use of transforms in 'texinfos.a
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [FYI] [ng] texi: less use of transforms in 'texinfos.am' |
Date: |
Fri, 31 Aug 2012 14:51:34 +0200 |
Le 11 août 2012 à 20:17, Stefano Lattarini a écrit :
> + # Append to dirs, not files, because the files in '$*clean' can also
> + # contain any directory created by "makeinfo --html", as well as the
> + # '*.t2d' and '*.t2p' directories used by texi2dvi and texi2pdf.
Can't we use only t2d? collisions should be avoided by texi2dvi itself.
> + $clean_dirs{$mostlyclean} = MOSTLY_CLEAN;
> + $clean_dirs{$clean} = CLEAN;
> + $clean_dirs{$maintclean} = MAINTAINER_CLEAN;
>
> $output_rules .= file_contents ('texinfos',
> new Automake::Location,
> - MOSTLYCLEAN => $mostlyclean,
> - TEXICLEAN => $clean,
> - MAINTCLEAN => $maintclean,
> 'LOCAL-TEXIS' => !!$info_texinfos);
> }
>
> diff --git a/lib/am/texinfos.am b/lib/am/texinfos.am
> index 2b47560..704c200 100644
> --- a/lib/am/texinfos.am
> +++ b/lib/am/texinfos.am
> @@ -280,13 +280,5 @@ endif %?LOCAL-TEXIS%
> ## ---------- ##
>
> if %?LOCAL-TEXIS%
> -## Append to dirs, not files, because the %*CLEAN% substitutions can
> -## also contain any directory created by "makeinfo --html", as well as
> -## the '*.t2d' and '*.t2p' directories used by texi2dvi and texi2pdf.
> -am.clean.mostly.d += %MOSTLYCLEAN%
> -am.clean.normal.d += %TEXICLEAN%
> -am.clean.maint.d += %MAINTCLEAN%
> -
> am.clean.maint.f += $(foreach f,$(INFO_DEPS),$f $f-[0-9] $f-[0-9][0-9])
> -
> endif %?LOCAL-TEXIS%
> --
> 1.7.12.rc0
>
>