chomp $clean;
chomp $maintclean;
}
+ # 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.
+ $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);
}
## ---------- ##
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%