Error consistently when running recursive make
When changing directories and running a sub-make, ensure that both the
cd and make commands propagate errors to the parent make.
diff --git a/Makefile b/Makefile
index 1a0c609..62ec070 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
doxygen:
- (cd doxygen ; make) ; \
+ cd doxygen && $(MAKE)
clean:
@for dir in $(SUBDIRS) ; do \
@@ -52,10 +52,10 @@
# Xserver GLcore module
glcore:
- cd src/mesa/drivers/xorg ; $(MAKE)
+ cd src/mesa/drivers/xorg && $(MAKE)
glcore-install:
- cd src/mesa/drivers/xorg ; $(MAKE) install
+ cd src/mesa/drivers/xorg && $(MAKE) install
.PHONY: default doxygen clean realclean install linux-directfb-install \
glcore glcore-install