+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
$(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.