summaryrefslogtreecommitdiff
path: root/subdirs.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1995-12-05 06:16:51 +0000
committerTom Tromey <tromey@redhat.com>1995-12-05 06:16:51 +0000
commit9eb2ffa7de45875c628910830a5e022a3c6aae4b (patch)
tree2d32aab4bb8cd874440e85ab2fb59f7af50e678b /subdirs.am
parent6eb420f6565ebec44e45511ea447eaaaa4c3e5d5 (diff)
downloadautomake-9eb2ffa7de45875c628910830a5e022a3c6aae4b.tar.gz
Many cleanups.
Added --strictness option.
Diffstat (limited to 'subdirs.am')
-rw-r--r--subdirs.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/subdirs.am b/subdirs.am
index e5356ab95..c835340cf 100644
--- a/subdirs.am
+++ b/subdirs.am
@@ -7,17 +7,15 @@
@SET_MAKE@
-RECURSIVE = all-recursive install-data-recursive install-exec-recursive \
+all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive \
mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive
-
-$(RECURSIVE):
+maintainer-clean-recursive:
for subdir in $(SUBDIRS); do \
target=`echo $@ | sed s/-recursive//`; \
echo making $$target in $$subdir; \
- (cd $$subdir; $(MAKE) $$target) \
+ (cd $$subdir && $(MAKE) $$target) \
## This trick allows "-k" to keep its natural meaning when running a
## recursive rule.
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \