Es schrieb Peter Eisentraut:
> 
> Akim Demaille writes:
> 
> > What I'm doing now is buying my freedom.  The freedom to extend
> > Autoconf without 1. requiring from the rest of the world that they
> > adjust their distclean rules, 2. requiring that Automake folks release
> > a newer Automake etc., not to mention that it needs 1. writing
> > documentation, 2. telling the people to read it.
> 
> All of these are good goals, but there are at least three other ways to
> achieve them:
> 
> 1. _AC_EXTRA_CLEAN_FILES([configure.lineno autom4te.cache])
> 
>    To be traced by automake.
> 
> 2. AC_SUBST(ac_extra_clean_files, [configure.lineno autom4te.cache])
> 
>    To be added to DISTCLEANFILES in automake-generated makefiles.
> 

AC_SUBST(ac_extra_clean_files, [configure.lineno])
AM_ADD(DISTCLEANFILES,ac_extra_clean_files)

Makefile.am:
   (nothing special)
Makefile.in:
   DISTCLEANFILES = @ac_extra_clean_files@

good??

Reply via email to