From 8bdcadb12fd5eabe4e088c4965e2e82ecd987c83 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 29 Jan 2005 00:53:13 +0000 Subject: * Makefile.in (all, clean mostlyclean, distclean maintainer-clean) (realclean, install): Fail if subdir make failed. --- sim/ChangeLog | 5 +++++ sim/Makefile.in | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'sim') diff --git a/sim/ChangeLog b/sim/ChangeLog index 6cb2b63..1acad26 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2005-01-29 Hans-Peter Nilsson + + * Makefile.in (all, clean mostlyclean, distclean maintainer-clean) + (realclean, install): Fail if subdir make failed. + 2005-01-28 Hans-Peter Nilsson * cris: New directory, simulator for Axis Communications CRIS diff --git a/sim/Makefile.in b/sim/Makefile.in index 7e6dbde..fdbcded 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -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 -- cgit v1.1