Tweak the shell scripting for descending into and building subdirs.
authorBrian <brian@yutani.localnet.net>
Wed, 9 May 2007 22:22:53 +0000 (16:22 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 9 May 2007 22:23:11 +0000 (16:23 -0600)
commit16c503f39a05726f3e994e42cb1c03e0a308b80d
tree1603daefea6ba5c115a4a4fed027e2838df4a153
parent4d5d4e1f97bf8d5c55ef817f7a28f920accc151b
Tweak the shell scripting for descending into and building subdirs.

In general, use this:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1; \
fi \
done

Basically, silently skip missing subdirs but generate an error and stop if
there's a compilation or install problem.
This was done inconsistantly before.  In once case, a missing subdir was
causing us to go into an infinte loop!
Makefile
progs/Makefile
src/Makefile
src/mesa/drivers/dri/Makefile