Stop overriding the regress target and use REGRESS_TARGETS instead.
authoranton <anton@openbsd.org>
Thu, 8 Dec 2022 12:01:04 +0000 (12:01 +0000)
committeranton <anton@openbsd.org>
Thu, 8 Dec 2022 12:01:04 +0000 (12:01 +0000)
regress/usr.bin/column/Makefile
regress/usr.bin/fmt/Makefile
regress/usr.bin/fold/Makefile
regress/usr.bin/rev/Makefile

index 6de0d26..d545032 100644 (file)
@@ -1,6 +1,7 @@
-#      $OpenBSD: Makefile,v 1.1 2016/08/28 12:39:07 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.2 2022/12/08 12:01:04 anton Exp $
 
-regress:
-       @sh ${.CURDIR}/column.sh
+REGRESS_TARGETS+=      column
+column:
+       sh ${.CURDIR}/column.sh
 
 .include <bsd.regress.mk>
index f6d63d4..83955b0 100644 (file)
@@ -1,6 +1,7 @@
-#      $OpenBSD: Makefile,v 1.1 2015/12/06 18:42:12 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.2 2022/12/08 12:01:04 anton Exp $
 
-regress:
-       @sh ${.CURDIR}/fmt.sh
+REGRESS_TARGETS+=      fmt
+fmt:
+       sh ${.CURDIR}/fmt.sh
 
 .include <bsd.regress.mk>
index fde587e..662ca62 100644 (file)
@@ -1,6 +1,7 @@
-#      $OpenBSD: Makefile,v 1.1 2016/05/03 16:06:11 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.2 2022/12/08 12:01:04 anton Exp $
 
-regress:
-       @sh ${.CURDIR}/fold.sh
+REGRESS_TARGETS+=      fold
+fold:
+       sh ${.CURDIR}/fold.sh
 
 .include <bsd.regress.mk>
index 1780774..5bcec7f 100644 (file)
@@ -1,8 +1,9 @@
-#      $OpenBSD: Makefile,v 1.1 2016/04/10 15:00:03 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.2 2022/12/08 12:01:04 anton Exp $
 
 CLEANFILES = out.ascii.txt out.utf8.txt
 
-regress:
+REGRESS_TARGETS+=      rev
+rev:
        LC_ALL=C rev ${.CURDIR}/in.txt > out.ascii.txt
        diff -u ${.CURDIR}/exp.ascii.txt out.ascii.txt
        LC_ALL=en_US.UTF-8 rev ${.CURDIR}/in.txt > out.utf8.txt