Make CLEANFILES patterns not match anything that may live outside of obj.
authorclaudio <claudio@openbsd.org>
Mon, 31 Oct 2022 18:31:36 +0000 (18:31 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 31 Oct 2022 18:31:36 +0000 (18:31 +0000)
Running make clean without obj should not remove any non-temp files
like *.conf.

regress/usr.sbin/bgpd/integrationtests/Makefile

index ab34483..bacc262 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2022/06/27 13:29:40 claudio Exp $
+# $OpenBSD: Makefile,v 1.17 2022/10/31 18:31:36 claudio Exp $
 
 REGRESS_TARGETS        =       network_statement md5 ovs mrt \
                        maxprefix maxprefixout maxcomm \
@@ -6,7 +6,8 @@ REGRESS_TARGETS =       network_statement md5 ovs mrt \
 
 BGPD ?=                        /usr/sbin/bgpd
 
-CLEANFILES +=          *.mrt *.out *.conf *.log *.fifo api-exabgp*
+CLEANFILES +=          *.mrt *.out exabgp.*.conf *.log *.fifo \
+                       api-exabgp api-exabgp.d
 
 api-exabgp: api-exabgp.c