Ŋ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@xxxxxxxxxxxxx>
---
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
@@ -101,7 +101,7 @@ install-qa: install $(addsuffix -install-qa,$(SUBDIRS))
$(MAKE) -C $* install-qa
distclean: clean
- rm -f $(LDIRT)
+ rm -f $(DISTDIRT)
realclean: distclean
rm -f $(CONFIGURE)
--
1.6.5
|