From: anton Date: Thu, 8 Dec 2022 12:01:04 +0000 (+0000) Subject: Stop overriding the regress target and use REGRESS_TARGETS instead. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f99dc4e279427a31270544888daa6423cfda78f;p=openbsd Stop overriding the regress target and use REGRESS_TARGETS instead. --- diff --git a/regress/usr.bin/column/Makefile b/regress/usr.bin/column/Makefile index 6de0d261c5b..d5450329551 100644 --- a/regress/usr.bin/column/Makefile +++ b/regress/usr.bin/column/Makefile @@ -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 diff --git a/regress/usr.bin/fmt/Makefile b/regress/usr.bin/fmt/Makefile index f6d63d4381e..83955b0ed0b 100644 --- a/regress/usr.bin/fmt/Makefile +++ b/regress/usr.bin/fmt/Makefile @@ -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 diff --git a/regress/usr.bin/fold/Makefile b/regress/usr.bin/fold/Makefile index fde587ee75c..662ca628354 100644 --- a/regress/usr.bin/fold/Makefile +++ b/regress/usr.bin/fold/Makefile @@ -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 diff --git a/regress/usr.bin/rev/Makefile b/regress/usr.bin/rev/Makefile index 1780774eb2f..5bcec7fa935 100644 --- a/regress/usr.bin/rev/Makefile +++ b/regress/usr.bin/rev/Makefile @@ -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