diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-03-08 20:13:04 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-03-08 20:13:04 (GMT) |
commit | 8910ca14c4b4fffb04eea6ddf1001156e0a0fa61 (patch) | |
tree | 917926fba7db472c3b7e5e6edd40c4077717ec48 | |
parent | 33d00ddf91f8845cc555147e40614c80fcd53265 (diff) | |
download | hdf5-8910ca14c4b4fffb04eea6ddf1001156e0a0fa61.zip hdf5-8910ca14c4b4fffb04eea6ddf1001156e0a0fa61.tar.gz hdf5-8910ca14c4b4fffb04eea6ddf1001156e0a0fa61.tar.bz2 |
[svn-r3568] Purpose:
Bug Fix
Description:
Added logic so that all the various make options would recursively be
done in their subdirectories.
Solution:
Added a for-loop to iterate through the subdirectories.
Platforms tested:
Linux
-rw-r--r-- | config/conclude.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/conclude.in b/config/conclude.in index 33cb243..b6d566c 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -10,8 +10,18 @@ lib: $(LIB) $(LIB) __no_library__: $(LIB_OBJ) @$(LT_LINK_LIB) -o $@ $(CFLAGS) $(LIB_OBJ) $(LDFLAGS) $(LIBS) + @for d in X $(SUBDIRS); do \ + if test $$d != X; then \ + (set -x; cd $$d && $(MAKE) lib) || exit 1; \ + fi; \ + done progs: $(LIB) $(PROGS) + @for d in X $(SUBDIRS); do \ + if test $$d != X; then \ + (set -x; cd $$d && $(MAKE) progs) || exit 1; \ + fi; \ + done ## Build a tags file in this directory. ## @@ -52,6 +62,11 @@ check test _test: tests fi; \ done; \ test $$test = dummy || false + @for d in X $(SUBDIRS); do \ + if test $$d != X; then \ + (set -x; cd $$d && $(MAKE) tests) || exit 1; \ + fi; \ + done ## Make installation directories directories if they don't exist. ## @@ -90,6 +105,11 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir) ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \ fi; \ done + @for d in X $(SUBDIRS); do \ + if test $$d != X; then \ + (set -x; cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ + done ## Install the documents. ## |