From 63279637c19a6092981fadee992c319f2eb8a409 Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Tue, 12 Jun 2007 22:46:12 -0500 Subject: Adds SUBDIRS to the make 'distclean' target and 'distclean' to the sub-directory Makefiles. Patch from Ken MacLeod signed-off-by: Michael Brown --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4378a9e..2e002f1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,8 @@ clean: distclean: clean rm -rf dist build - rm *.tar.gz + rm -f *.tar.gz + for d in $(SUBDIRS); do make -C $$d distclean ; done subdirs: for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1 ; done -- cgit