From: Ted Lemon Date: Tue, 9 Feb 1999 04:46:11 +0000 (+0000) Subject: Don't continue building after submake error. X-Git-Tag: V2-BETA-1-PATCH-11~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5163c367a1600a0876cf1dd202cd7965dd83325b;p=thirdparty%2Fdhcp.git Don't continue building after submake error. --- diff --git a/Makefile.dist b/Makefile.dist index 2ecaaedc3..d76f4287a 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -35,30 +35,30 @@ SUBDIRS= common server client relay all: @for dir in ${SUBDIRS}; do \ echo "Making all in $$dir"; \ - (cd $$dir; $(MAKE) all); \ + (cd $$dir; $(MAKE) all) || exit 1; \ done install: @for dir in ${SUBDIRS}; do \ echo "Installing in $$dir"; \ - (cd $$dir; $(MAKE) install); \ + (cd $$dir; $(MAKE) install) || exit 1; \ done clean: @for dir in ${SUBDIRS}; do \ echo "Cleaning in $$dir"; \ - (cd $$dir; $(MAKE) clean); \ + (cd $$dir; $(MAKE) clean) || exit 1; \ done realclean: @for dir in ${SUBDIRS}; do \ echo "Really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) realclean); \ + (cd $$dir; $(MAKE) realclean) || exit 1; \ done distclean: @for dir in ${SUBDIRS}; do \ echo "Really, really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) distclean); \ + (cd $$dir; $(MAKE) distclean) || exit 1; \ done @rm -f Makefile