From: Ted Lemon Date: Sun, 14 Feb 1999 18:33:12 +0000 (+0000) Subject: Fix recursion so it works with GNU make. X-Git-Tag: V3-ALPHA-19990315~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa93f422e7c8ac45e64bca55fe9e3713e8dea45b;p=thirdparty%2Fdhcp.git Fix recursion so it works with GNU make. --- diff --git a/Makefile.dist b/Makefile.dist index e1e10fe90..fb46b88f0 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -1,6 +1,6 @@ # Makefile.dist # -# Copyright (c) 1996, 1997, 1998 The Internet Software Consortium. +# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -35,36 +35,36 @@ SUBDIRS= common server client relay statmsg sysconfd dhcpctl 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 depend: @for dir in ${SUBDIRS}; do \ echo "Making dependencies in $$dir"; \ - (cd $$dir; $(MAKE) depend); \ + (cd $$dir; $(MAKE) depend) || 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