]> sourceware.org Git - automake.git/commitdiff
($(RECURSIVE)): Print name of target actually used
authorTom Tromey <tromey@redhat.com>
Thu, 23 Nov 1995 03:07:53 +0000 (03:07 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 23 Nov 1995 03:07:53 +0000 (03:07 +0000)
lib/am/subdirs.am
subdirs.am

index eec4dc6dee0a71f87c62d6bb814d63179f7491f3..240bc8040edfb07bff88fab6bf3171abe7548e60 100644 (file)
@@ -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
 
index eec4dc6dee0a71f87c62d6bb814d63179f7491f3..240bc8040edfb07bff88fab6bf3171abe7548e60 100644 (file)
@@ -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
 
This page took 0.027555 seconds and 5 git commands to generate.