* Makefile.in (clean mostlyclean distclean realclean): Recurse

into subdirectories as well as doing this directory.
This commit is contained in:
Jim Kingdon 1994-01-16 17:35:23 +00:00
parent 44af5659d7
commit 84c8bac270
2 changed files with 21 additions and 4 deletions

View File

@ -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

View File

@ -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.