summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-06-12 22:46:12 -0500
committerMichael E Brown <mebrown@michaels-house.net>2007-06-12 22:46:12 -0500
commit63279637c19a6092981fadee992c319f2eb8a409 (patch)
treeb49937ca4fd481cd10a84c7f959c0b71452669c3 /Makefile
parentcbd9fa194725e8ae58e89df91922b5d3ee4927b5 (diff)
Adds SUBDIRS to the make 'distclean' target and 'distclean' to the
sub-directory Makefiles. Patch from Ken MacLeod <ken@bitsko.slc.ut.us> signed-off-by: Michael Brown <mebrown@michaels-house.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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