From: Tom Tromey Date: Thu, 23 Nov 1995 03:07:53 +0000 (+0000) Subject: ($(RECURSIVE)): Print name of target actually used X-Git-Tag: Release-0-25~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6589fea03e473646a378f05368b7a23b56eb00a8;p=thirdparty%2Fautomake.git ($(RECURSIVE)): Print name of target actually used --- diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index eec4dc6de..240bc8040 100644 --- a/lib/am/subdirs.am +++ b/lib/am/subdirs.am @@ -15,10 +15,11 @@ maintainer-clean-recursive $(RECURSIVE): for subdir in $(SUBDIRS); do \ - echo making $@ in $$subdir; \ - (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`) \ + target=`echo $@ | sed s/-recursive//`; \ + echo making $$target in $$subdir; \ + (cd $$subdir; $(MAKE) $$target) \ || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" + done && test -z "$$fail" \ mostlyclean: mostlyclean-recursive mostlyclean-local diff --git a/subdirs.am b/subdirs.am index eec4dc6de..240bc8040 100644 --- a/subdirs.am +++ b/subdirs.am @@ -15,10 +15,11 @@ maintainer-clean-recursive $(RECURSIVE): for subdir in $(SUBDIRS); do \ - echo making $@ in $$subdir; \ - (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`) \ + target=`echo $@ | sed s/-recursive//`; \ + echo making $$target in $$subdir; \ + (cd $$subdir; $(MAKE) $$target) \ || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" + done && test -z "$$fail" \ mostlyclean: mostlyclean-recursive mostlyclean-local