Use -generic clean targets.
authorTom Tromey <tromey@redhat.com>
Tue, 28 Nov 1995 07:00:19 +0000 (07:00 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 28 Nov 1995 07:00:19 +0000 (07:00 +0000)
clean.am
lib/am/clean.am

index 42cdd7e..37400ef 100644 (file)
--- 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:
 
index 42cdd7e..37400ef 100644 (file)
@@ -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: