From e9bfbcbc1380e0113b1132f922c1ce977e158537 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 21 Nov 1995 05:56:46 +0000 Subject: [PATCH] (all): Renamed from _all. Now uses all-recursive (all-recursive): Don't fail immediately if -k specified. --- lib/am/subdirs.am | 16 +++++++++------- subdirs.am | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index 730ee53..acd4de8 100644 --- a/lib/am/subdirs.am +++ b/lib/am/subdirs.am @@ -7,15 +7,17 @@ @SET_MAKE@ -# NOTE: "_all" is separate because otherwise the AIX 3.2.5 make will +# NOTE: "all" is separate because otherwise the AIX 3.2.5 make will # run all of the "all", "install", "uninstall", etc targets if run # with no arguments. -_all: all -all install install-exec install-data install-info uninstall check info dvi id ID:: - for subdir in $(SUBDIRS); do \ - echo making $@ in $$subdir ; \ - (cd $$subdir; $(MAKE) $@); \ - done +all:: all-recursive + +all-recursive install install-exec install-data install-info uninstall check info dvi id ID:: + for subdir in $(SUBDIRS); do \ + echo making $@ in $$subdir; \ + (cd $$subdir; $(MAKE) $@) \ + || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" mostlyclean: mostlyclean-recursive mostlyclean-local diff --git a/subdirs.am b/subdirs.am index 730ee53..acd4de8 100644 --- a/subdirs.am +++ b/subdirs.am @@ -7,15 +7,17 @@ @SET_MAKE@ -# NOTE: "_all" is separate because otherwise the AIX 3.2.5 make will +# NOTE: "all" is separate because otherwise the AIX 3.2.5 make will # run all of the "all", "install", "uninstall", etc targets if run # with no arguments. -_all: all -all install install-exec install-data install-info uninstall check info dvi id ID:: - for subdir in $(SUBDIRS); do \ - echo making $@ in $$subdir ; \ - (cd $$subdir; $(MAKE) $@); \ - done +all:: all-recursive + +all-recursive install install-exec install-data install-info uninstall check info dvi id ID:: + for subdir in $(SUBDIRS); do \ + echo making $@ in $$subdir; \ + (cd $$subdir; $(MAKE) $@) \ + || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" mostlyclean: mostlyclean-recursive mostlyclean-local -- 2.7.4