Some files generated at configure time are not cleaned when ./configure is
called with --disable-docs. These files are:
The solution is to list these files in a separate AC_CONFIG_FILES directive
which gets called only when enable_docs=yes.
Created attachment 4647 [details] [review]
Output files in docs subdir only if --enable-docs is set
This patch also contains another minor change: it splits the (deprecated)
AC_OUTPUT(files) call into two separate calls: AC_CONFIG_FILES(files) and
AC_OUTPUT() without arguments.
This is the recommended usage for AC_OUTPUT and it is exactly what autoconf
does automatically, so this alone doesn't change the generated configure at
committed to CVS. thanks
2006-02-17 Danilo Piazzalunga <firstname.lastname@example.org>
* configure.in: Bug #5929: Output files in docs subdir only if
--enable-docs is set. This prevents configure from generating files which
are not cleaned up when --disable-docs is used.
Use AC_CONFIG_FILES and AC_OUTPUT as recommended.