summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/conclude.in20
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.
##