bug-automake
[Top][All Lists]
Advanced

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

MAINTAINERCLEANFILES for autotools


From: Behdad Esfahbod
Subject: MAINTAINERCLEANFILES for autotools
Date: Mon, 15 Sep 2008 15:57:20 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Hi,

I use autotools extensively in my projects and one of the things that bothers
me is that I have clean after autogen/autoreconf generated files myself.  In
particular:

  * automake should generate rules to add Makefile.in to MAINTAINERCLEANFILES.

  * automake should generate rules to add config.cache to DISTCLEANFILES.

  * automake/aclocal/autoheader/libtool/* should cause automake to generate
rules to add the following files to MAINTAINERCLEANFILES for toplevel dir:

        $(srcdir)/aclocal.m4 \
        $(srcdir)/autoscan.log \
        $(srcdir)/build/compile \
        $(srcdir)/build/config.guess \
        $(srcdir)/build/config.sub \
        $(srcdir)/build/depcomp \
        $(srcdir)/build/install-sh \
        $(srcdir)/build/ltmain.sh \
        $(srcdir)/build/missing \
        $(srcdir)/build/mkinstalldirs \
        $(srcdir)/config.h.in \

I personally also include configure.scan in the list.

Where build/ is the directory passed to AC_CONFIG_AUX_DIR.

Aside from those, I also find it bothersome to have to list all Makefile.in's
in configure.ac where it should actually be somehow generated from
Makefile.am's DIST_SUBDIRS itself (is that what automake uses?).


Cheers,

behdad




reply via email to

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