* Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
authorHans-Peter Nilsson <hp@axis.com>
Sat, 29 Jan 2005 00:53:13 +0000 (00:53 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 29 Jan 2005 00:53:13 +0000 (00:53 +0000)
(realclean, install): Fail if subdir make failed.

sim/ChangeLog
sim/Makefile.in

index 6cb2b634e231099705ecb76fd9857d8656c048d5..1acad26a868b952582de860f3dc4fb2b0727dc1d 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
+       (realclean, install): Fail if subdir make failed.
+
 2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
 
        * cris: New directory, simulator for Axis Communications CRIS
index 7e6dbde92063e1caecefaff5db90c6ea067578fc..fdbcdedeb7bb6b2b3da89e4953f651b98e0ae687 100644 (file)
@@ -130,7 +130,7 @@ all:
                if [ "$$dir" = "." ]; then \
                        true; \
                elif [ -d $$dir ]; then \
-                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
+                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit 1; \
                else true; fi; \
        done
 
@@ -140,7 +140,7 @@ clean mostlyclean:
                if [ "$$dir" = "." ]; then \
                        true; \
                elif [ -d $$dir ]; then \
-                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
                else true; fi; \
        done
 
@@ -150,7 +150,7 @@ distclean maintainer-clean realclean:
                if [ "$$dir" = "." ]; then \
                        true; \
                elif [ -d $$dir ]; then \
-                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
                else true; fi; \
        done
        rm -f Makefile config.cache config.log config.status
@@ -161,7 +161,7 @@ install:
                if [ "$$dir" = "." ]; then \
                        true; \
                elif [ -d $$dir ]; then \
-                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
+                       (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit 1; \
                else true; fi; \
        done