Add rules to make sure subdirs are always built before testdirs

(cherry picked from commit 723433cbc6)
This commit is contained in:
Ondřej Surý 2019-07-02 12:16:30 +02:00
parent d66a9a9b9a
commit d995dc4661
2 changed files with 1 additions and 5 deletions

View file

@ -11,10 +11,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
# Attempt to disable parallel processing.
.NOTPARALLEL:
.NO_PARALLEL:
VERSION=@BIND9_VERSION@
@BIND9_MAJOR@

View file

@ -71,7 +71,7 @@ subdirs:
#
# Tests are built after the targets instead of before
#
testdirs:
testdirs: subdirs ${TARGETS}
@for i in ${ALL_TESTDIRS}; do \
if [ "$$i" != "nulldir" -a -d $$i ]; then \
echo "making all in `pwd`/$$i"; \