From: Jim Kingdon Date: Sun, 16 Jan 1994 17:35:23 +0000 (+0000) Subject: * Makefile.in (clean mostlyclean distclean realclean): Recurse X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84c8bac2706adf580cd881fcc1bfcc9f44b63f5f;p=binutils-gdb.git * Makefile.in (clean mostlyclean distclean realclean): Recurse into subdirectories as well as doing this directory. --- diff --git a/readline/ChangeLog b/readline/ChangeLog index 48ed69dd250..25aca40a740 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 16 12:33:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in (clean mostlyclean distclean realclean): Recurse + into subdirectories as well as doing this directory. + Sat Jan 15 19:36:12 1994 Per Bothner (bothner@kalessin.cygnus.com) * readline.c, display.c: Patches to allow use of all 80 diff --git a/readline/Makefile.in b/readline/Makefile.in index 05762db46ca..02269da7426 100644 --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -187,13 +187,25 @@ includes: $(INSTALL_FILE) $(srcdir)/keymaps.h $(includedir)/readline/keymaps.h $(INSTALL_FILE) $(srcdir)/chardefs.h $(includedir)/readline/chardefs.h -clean mostlyclean: - rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn - rm -f *.aux *.pg *.toc +local-clean: + rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn + rm -f *.aux *.pg *.toc -distclean realclean: clean +local-distclean: local-clean rm -f Makefile config.status sysdep.h +mostlyclean: local-clean + @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do + +clean: local-clean + @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do + +distclean: local-distclean + @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do + +realclean: local-realclean + @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do + $(DESTDIR)/libreadline.a: libreadline.a # Copy the object files from a particular stage into a subdirectory.