summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-02-14 18:33:12 +0000
committerTed Lemon <source@isc.org>1999-02-14 18:33:12 +0000
commitfa93f422e7c8ac45e64bca55fe9e3713e8dea45b (patch)
tree522359c5a8d886145f63fbccaeb36c869bf8c90f /Makefile.dist
parentb97a65785d8f90d5ae4cba5e163a9e0879fa7230 (diff)
downloadisc-dhcp-fa93f422e7c8ac45e64bca55fe9e3713e8dea45b.tar.gz
Fix recursion so it works with GNU make.
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.dist b/Makefile.dist
index e1e10fe9..fb46b88f 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