From: Tom Tromey Date: Tue, 21 Nov 1995 05:56:46 +0000 (+0000) Subject: (all): Renamed from _all. Now uses all-recursive X-Git-Tag: Release-0-25~289 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=84fe24f09ef16bce870ce059c6828b9a0d2ba5db;p=automake.git (all): Renamed from _all. Now uses all-recursive (all-recursive): Don't fail immediately if -k specified. --- diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index 730ee53b..acd4de83 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 730ee53b..acd4de83 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