All hooked up regress directories must at least support make obj and clean in
authoranton <anton@openbsd.org>
Tue, 13 Jun 2023 04:59:10 +0000 (04:59 +0000)
committeranton <anton@openbsd.org>
Tue, 13 Jun 2023 04:59:10 +0000 (04:59 +0000)
order to not break the tree. Therefore make use of bsd.regress.mk.

regress/usr.bin/seq/Makefile

index a5f3c2e..fde4f03 100644 (file)
@@ -1,7 +1,12 @@
-#      $OpenBSD: Makefile,v 1.1 2023/06/12 20:19:45 millert Exp $
+#      $OpenBSD: Makefile,v 1.2 2023/06/13 04:59:10 anton Exp $
 
 SEQ?=  /usr/bin/seq
 
+CLEANFILES+=   *.out
+
+REGRESS_TARGETS+=seqtest
 seqtest:
        sh ${.CURDIR}/$@.sh ${SEQ} $@.out
        diff ${.CURDIR}/$@.expected $@.out
+
+.include <bsd.regress.mk>