From 9f025e238e1656441235f894ecacdfe15afa6469 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 28 Nov 1995 07:00:19 +0000 Subject: [PATCH] Use -generic clean targets. --- clean.am | 16 ++++++---------- lib/am/clean.am | 16 ++++++---------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/clean.am b/clean.am index 42cdd7e8..37400efd 100644 --- a/clean.am +++ b/clean.am @@ -1,15 +1,11 @@ -mostlyclean: - rm -f *.o core +mostlyclean-generic: -clean: mostlyclean - rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES) +clean-generic: + rm -f $(CLEANFILES) -distclean: clean - rm -f Makefile *.tab.c $(DISTCLEANFILES) +distclean-generic: + rm -f Makefile $(DISTCLEANFILES) rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h -maintainer-clean: distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - rm -f TAGS $(INFOS) +maintainer-clean-generic: diff --git a/lib/am/clean.am b/lib/am/clean.am index 42cdd7e8..37400efd 100644 --- a/lib/am/clean.am +++ b/lib/am/clean.am @@ -1,15 +1,11 @@ -mostlyclean: - rm -f *.o core +mostlyclean-generic: -clean: mostlyclean - rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES) +clean-generic: + rm -f $(CLEANFILES) -distclean: clean - rm -f Makefile *.tab.c $(DISTCLEANFILES) +distclean-generic: + rm -f Makefile $(DISTCLEANFILES) rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h -maintainer-clean: distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - rm -f TAGS $(INFOS) +maintainer-clean-generic: -- 2.43.5