Don't use ${
[automake.git] / subdirs.am
blobc835340cffacd440b3cec02756f60554cb720788
1 # This directory's subdirectories are mostly independent; you can cd
2 # into them and run `make' without going through this Makefile.
3 # To change the values of `make' variables: instead of editing Makefiles,
4 # (1) if the variable is set in `config.status', edit `config.status'
5 #     (which will cause the Makefiles to be regenerated when you run `make');
6 # (2) otherwise, pass the desired values on the `make' command line.
8 @SET_MAKE@
10 all-recursive install-data-recursive install-exec-recursive \
11 installdirs-recursive install-recursive uninstall-recursive \
12 check-recursive installcheck-recursive info-recursive dvi-recursive \
13 mostlyclean-recursive clean-recursive distclean-recursive \
14 maintainer-clean-recursive:
15         for subdir in $(SUBDIRS); do            \
16           target=`echo $@ | sed s/-recursive//`; \
17           echo making $$target in $$subdir;     \
18           (cd $$subdir && $(MAKE) $$target)     \
19 ## This trick allows "-k" to keep its natural meaning when running a
20 ## recursive rule.
21            || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
22         done && test -z "$$fail"