Re: [PATCH 1/2] xfsprogs: Do not remove configure information on clean

Christoph Hellwig
2010-01-19T09:14:34Z

On Tue, Jan 19, 2010 at 11:33:05AM +1100, Dave Chinner wrote:
> ??ormal packaging practice is to remove the configure scripts
> on a 'make distclean' so that a 'make clean' doesn't result in
> having to rerun the configure scripts. Change the clean targets
> in the top level makefile to only clear configure files on
> a distclean.
>
> Signed-off-by: Dave Chinner <david@fromorbit.com>
> ---
> Makefile | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 2d394e4..a7615ca 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -15,7 +15,7 @@ SRCTAR = $(PKG_NAME)-$(PKG_VERSION).tar.gz
> CONFIGURE = aclocal.m4 configure config.guess config.sub install-sh ltmain.sh
> LSRCFILES = configure.in release.sh README VERSION $(CONFIGURE)
>
> -LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
> +DISTDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
> built .census install.* install-dev.* *.gz autom4te.cache/* libtool \
> include/builddefs include/platform_defs.h

But this isn't all configure stuff, is it? install.* install-dev.* *.gz
is from the install process, and .dep is part of make dep.