]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make depend needs to decend into lib/*/test [rt #43105]
authorMark Andrews <marka@isc.org>
Mon, 29 Aug 2016 00:19:56 +0000 (10:19 +1000)
committerMark Andrews <marka@isc.org>
Mon, 29 Aug 2016 00:20:22 +0000 (10:20 +1000)
(cherry picked from commit 5336feefb0544f67e1c03314598ae247599dc1d3)

make/rules.in

index b5941a1220ef641ac51ca78fac61d45957961c9d..18602f057ee761a3ab43b8509ccee9cc0b5f8ac0 100644 (file)
@@ -45,6 +45,7 @@ all: ${PREREQS} subdirs ${TARGETS} testdirs
 ###
 ### Makefile may define:
 ###    SUBDIRS
+###    DEPDIRS
 
 ALL_SUBDIRS = ${SUBDIRS} nulldir
 ALL_TESTDIRS = ${TESTDIRS} nulldir
@@ -232,7 +233,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; \