git: 250e074e5f60 - main - pfctl tests: fix dependency

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 13:10:36 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=250e074e5f609194e0e4cd0775d99b0a616bfcf3

commit 250e074e5f609194e0e4cd0775d99b0a616bfcf3
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-07-25 12:06:27 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-07-25 13:06:25 +0000

    pfctl tests: fix dependency
    
    Ensure that we rebuild the test binary when we add tests (i.e. modify
    pfctl_test_list.inc).
    
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/tests/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbin/pfctl/tests/Makefile b/sbin/pfctl/tests/Makefile
index ed5f52758145..281cd97dee78 100644
--- a/sbin/pfctl/tests/Makefile
+++ b/sbin/pfctl/tests/Makefile
@@ -7,4 +7,6 @@ LIBADD+=	sbuf
 SUBDIR+=	files
 WARNS=6
 
+pfctl_test.o: pfctl_test_list.inc
+
 .include <bsd.test.mk>