summaryrefslogtreecommitdiff
blob: d01e08d2d44c114a36d8d663795f3416831bf7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: sudo-1.8.1rc1/Makefile.in
===================================================================
--- sudo-1.8.1rc1.orig/Makefile.in
+++ sudo-1.8.1rc1/Makefile.in
@@ -51,20 +51,17 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
 
 SHELL = @SHELL@
 
-all: config.status
-	for d in $(SUBDIRS) $(SAMPLES); do (cd $$d && $(MAKE) $@) || break; done
-
-check: config.status
-	for d in $(SUBDIRS) $(SAMPLES); do (cd $$d && $(MAKE) $@) || break; done
+all check: config.status
+	for d in $(SUBDIRS) $(SAMPLES); do $(MAKE) -C $$d $@ && continue; exit 1; done
 
 pre-install:
-	for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@) || break; done
+	for d in $(SUBDIRS) $(SAMPLES); do $(MAKE) -C $$d $@ && continue; exit 1; done
 
 install-dirs install-binaries install-includes install-plugin uninstall: config.status pre-install
-	for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@) || break; done
+	for d in $(SUBDIRS) $(SAMPLES); do $(MAKE) -C $$d $@ && continue; exit 1; done
 
 install install-doc: config.status ChangeLog pre-install
-	for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@) || break; done
+	for d in $(SUBDIRS) $(SAMPLES); do $(MAKE) -C $$d $@ && continue; exit 1; done
 
 autoconf:
 	autoconf -I m4