From 07916a787a8b599b84908f6f723244a1a02a8c5a Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 9 Jun 2026 13:36:52 -0400 Subject: [PATCH] opendkim/tests/Makefile.am: add miltertest and opendkim as check deps Abuse the check_DATA variable to indicate that the "miltertest" and "opendkim" programs are dependencies of every test in this directory. Afterwards, add rules to build them. This ensures that "make check" can be run before "make". --- opendkim/tests/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/opendkim/tests/Makefile.am b/opendkim/tests/Makefile.am index 0bf50219..a34e2de1 100644 --- a/opendkim/tests/Makefile.am +++ b/opendkim/tests/Makefile.am @@ -1,3 +1,12 @@ +# Prerequisites for all tests. An abuse of check_DATA. +check_DATA = ../../miltertest/miltertest ../opendkim + +# And rules to build them. +../../miltertest/miltertest: + $(MAKE) -C ../../miltertest miltertest +../opendkim: + $(MAKE) -C ../ opendkim + check_SCRIPTS = t-sign-ss t-sign-rs t-sign-rs-tables t-sign-rs-tables-bad \ t-sign-rs-tables-token t-sign-rs-multiple t-sign-rs-mixconf \ t-sign-rs-lua t-sign-ss-all t-sign-ss-ltag t-sign-ss-x \