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