]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix recursion so it works with GNU make.
authorTed Lemon <source@isc.org>
Sun, 14 Feb 1999 18:33:12 +0000 (18:33 +0000)
committerTed Lemon <source@isc.org>
Sun, 14 Feb 1999 18:33:12 +0000 (18:33 +0000)
Makefile.dist

index e1e10fe9069ac123c0d59beda22237b7c067c377..fb46b88f0a3c84d92c9733df93d0c1f98c9bdb5a 100644 (file)
@@ -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