From: Tom Tromey Date: Tue, 28 Nov 1995 07:00:19 +0000 (+0000) Subject: Use -generic clean targets. X-Git-Tag: v1.10.2~3771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da89ebc44b98cfcb8067bb512ee37bd253a358b8;p=platform%2Fupstream%2Fautomake.git Use -generic clean targets. --- diff --git a/clean.am b/clean.am index 42cdd7e..37400ef 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 42cdd7e..37400ef 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: