From 84c8bac2706adf580cd881fcc1bfcc9f44b63f5f Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 16 Jan 1994 17:35:23 +0000 Subject: [PATCH] * Makefile.in (clean mostlyclean distclean realclean): Recurse into subdirectories as well as doing this directory. --- readline/ChangeLog | 5 +++++ readline/Makefile.in | 20 ++++++++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/readline/ChangeLog b/readline/ChangeLog index 48ed69d..25aca40 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 05762db..02269da 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. -- 2.7.4