Cause make die to die if make dies in a subdir

This commit is contained in:
David Bartley 2007-10-09 21:19:36 -04:00
parent 3db75f9647
commit 093dfe833f
1 changed files with 1 additions and 1 deletions

View File

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