ChangeLog, Makefile.in:
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory. Also, when making the .exclude file for the
source_tar_file, exclude those two files as well.
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory.
diff --git a/Makefile.in b/Makefile.in
index 17c1294..d47e85b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -90,10 +90,14 @@
mostlyclean-local:
$(RM) -f \#* *~ core MAKELOG
+
clean-local: mostlyclean-local
+
distclean-local: clean-local
- $(RM) -f include/asm/types.h $(SUBST_CONF)
- $(RM) -f config.status config.log config.cache MCONFIG Makefile
+ $(RM) -f include/asm/types.h $(SUBST_CONF) \
+ config.status config.log config.cache MCONFIG Makefile \
+ $(srcdir)/TAGS $(srcdir)/Makefile.in.old
+
realclean-local: distclean-local
$(RM) -f configure
@@ -117,6 +121,7 @@
a=$(SRCROOT); \
(cd $(srcdir)/.. ; find e2fsprogs \( -name \*~ -o -name \*.orig \
-o -name CVS -o -name \*.rej -o -name Makefile.pq \
+ -o -name TAGS -o -name \*.old \
-o -name TODO -o -name changed-files -o -name .#\* \) \
-print) | sed -e "s/e2fsprogs/$$a/" > $(srcdir)/.exclude-file
echo "$(SRCROOT)/build" >> $(srcdir)/.exclude-file