From 7468edf680976147407773c02a5016550d4e3696 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 29 Aug 2016 10:19:56 +1000 Subject: [PATCH] make depend needs to decend into lib/*/test [rt #43105] (cherry picked from commit 5336feefb0544f67e1c03314598ae247599dc1d3) --- make/rules.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/rules.in b/make/rules.in index d5703e7a57..48570df4fa 100644 --- a/make/rules.in +++ b/make/rules.in @@ -57,6 +57,7 @@ all: subdirs ${TARGETS} testdirs ### ### Makefile may define: ### SUBDIRS +### DEPDIRS ALL_SUBDIRS = ${SUBDIRS} nulldir ALL_TESTDIRS = ${TESTDIRS} nulldir @@ -244,7 +245,7 @@ distclean maintainer-clean:: rm -f Makefile depend: - @for i in ${ALL_SUBDIRS}; do \ + @for i in ${ALL_SUBDIRS} ${ALL_TESTDIRS}; do \ if [ "$$i" != "nulldir" -a -d $$i ]; then \ echo "making depend in `pwd`/$$i"; \ (cd $$i; ${MAKE} ${MAKEDEFS} DESTDIR="${DESTDIR}" $@) || exit 1; \