autoconf
[Top][All Lists]
Advanced

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

Re: ax_prefix_config_h.m4 causes files to be left after "make distclean"


From: Rhys Ulerich
Subject: Re: ax_prefix_config_h.m4 causes files to be left after "make distclean"
Date: Wed, 12 Jan 2011 15:57:17 -0600

Hi David,

On Wed, Jan 12, 2011 at 3:31 PM, David Bruce <address@hidden> wrote:
> make[1]: Leaving directory `/usr/local/src/git/t4kcommon/build'
> rm -f config.status config.cache config.log configure.lineno
> config.status.lineno
> rm -f Makefile
> ERROR: files left in build directory after distclean:
> ./t4k_common-config.h
> ./_configs.sed
> make: *** [distcleancheck] Error 1
>
> Sorry if there is something else I am supposed to be doing, but I
> think I have followed the documentation and that there is a problem
> with the behavior of ax_prefix_config_h.m4 with respect to "make
> distclean"

I ran into this myself in the past few days.  Add the offending files
to DISTCLEANFILES within your toplevel Makefile.am and your distclean
target will work again.

For example, in a package called ESIO within configure.ac I call
   AX_PREFIX_CONFIG_H([esio/esio-config.h])
and the corresponding entries within my toplevel Makefile.am's
DISTCLEANFILES are
   DISTCLEANFILES = _configs.sed esio/esio-config.h

- Rhys



reply via email to

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