From 093dfe833f8a1098c4129450e30bb584a832ec13 Mon Sep 17 00:00:00 2001 From: David Bartley Date: Tue, 9 Oct 2007 21:19:36 -0400 Subject: [PATCH] Cause make die to die if make dies in a subdir --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 70000d4..a7cf340 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ common.mk: common.mk.in cat $< >> $@ build: noroot mkoutdir common.mk $(OUTPUTS) - @for i in $(SUBDIRS) ; do ($(MAKE) -C $$i || exit 1); done + @for i in $(SUBDIRS) ; do cd $$i && ($(MAKE) || exit 1) && cd .. ; done find ! -regex '.*/\..*' -type f ! -perm -0664 -print0 | xargs -r0 chmod u=rwX,g=rwX,o=rX || true find ! -regex '.*/\..*' -type d ! -perm 2775 -print0 | xargs -r0 chmod 2775 || true find ! -regex '.*/\..*' -type d ! -group www -print0 | xargs -r0 chgrp www || true