Mercurial > hg > octave-lyh
changeset 1685:5738406d6759
[project @ 1995-12-30 04:12:43 by jwe]
author | jwe |
---|---|
date | Sat, 30 Dec 1995 04:13:49 +0000 |
parents | f85887dfe06c |
children | 3af478ed0af1 |
files | Makeconf.in libcruft/Makefile.in octMakefile.in scripts/Makefile.in |
diffstat | 4 files changed, 9 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/Makeconf.in +++ b/Makeconf.in @@ -257,12 +257,10 @@ fi @mv $@.tmp $@ -define SUBDIR_FOR_COMMAND -for dir in $(SUBDIRS); \ -do \ - echo making $@ in $$dir; \ - cd $$dir; \ - $(MAKE) $@; \ - cd ..; \ -done +define do-subdir-for-command +echo making $@ in $d; cd $d; $(MAKE) $@; cd ..; endef + +define subdir-for-command +$(foreach d, $(SUBDIRS), $(do-subdir-for-command)) +endef
--- a/libcruft/Makefile.in +++ b/libcruft/Makefile.in @@ -74,7 +74,7 @@ .PHONY: check install uninstall clean mostlyclean distclean maintainer-clean:: - $(SUBDIR_FOR_COMMAND) + @$(subdir-for-command) install:: $(top_srcdir)/mkinstalldirs $(libdir)