Cause make die to die if make dies in a subdir
This commit is contained in:
parent
3db75f9647
commit
093dfe833f
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue