]> git.ipfire.org Git - thirdparty/bind9.git/commit
Alter distclean rule to prevent recursing into the same directory twice
authorEvan Hunt <each@isc.org>
Fri, 6 Apr 2018 10:09:50 +0000 (12:09 +0200)
committerEvan Hunt <each@isc.org>
Wed, 11 Apr 2018 03:04:48 +0000 (20:04 -0700)
commit3e67bc004844d8fa90ff0434cfa1e7839080f551
treecd6dd73c8cc802f6173d1f9b58bb1abad076fe74
parent01d45c1ebb0220c98f88e98b5e46ddef36ff1624
Alter distclean rule to prevent recursing into the same directory twice

Commit f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit 0d784de16a.  However, this change
prevented any system tests from being run when "make test" is invoked.

We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.

(cherry picked from commit 93ee6b8a22d1decf67db3a4a9434f51fd384d62c)
bin/tests/Makefile.in
make/rules.in