summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/eqn/Makefile.inc4
-rw-r--r--regress/man/TS/Makefile13
-rw-r--r--regress/mdoc/Dd/Makefile4
-rwxr-xr-xregress/regress.pl3
-rw-r--r--regress/tbl/Makefile.inc13
5 files changed, 8 insertions, 29 deletions
diff --git a/regress/eqn/Makefile.inc b/regress/eqn/Makefile.inc
index d1d69f34..2e98fb34 100644
--- a/regress/eqn/Makefile.inc
+++ b/regress/eqn/Makefile.inc
@@ -1,6 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $
-
-EQN = /usr/local/bin/eqn
+# $OpenBSD: Makefile.inc,v 1.4 2020/01/08 10:17:15 schwarze Exp $
SKIP_GROFF ?= ${REGRESS_TARGETS}
SKIP_TMAN ?= ALL
diff --git a/regress/man/TS/Makefile b/regress/man/TS/Makefile
index 1d20dc84..18f11705 100644
--- a/regress/man/TS/Makefile
+++ b/regress/man/TS/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2015/01/30 21:28:21 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2020/01/08 10:17:15 schwarze Exp $
REGRESS_TARGETS = break vspace
LINT_TARGETS = break
+GOPTS = -t
# groff-1.22.3 defect:
# - Starting a table in next-line scope confuses font handling,
@@ -9,14 +10,4 @@ LINT_TARGETS = break
SKIP_GROFF = break
-
-# OpenBSD only: maintainer targets
-
-TBL=/usr/local/bin/tbl
-
-.for t in ${REGRESS_TARGETS}
-${t}.out_ascii: ${t}.in
- ${TBL} ${.ALLSRC} | ${NROFF} ${NOPTS} -Tascii > ${.TARGET}
-.endfor
-
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Dd/Makefile b/regress/mdoc/Dd/Makefile
index 870d1cd9..e31b2730 100644
--- a/regress/mdoc/Dd/Makefile
+++ b/regress/mdoc/Dd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2014/11/21 01:52:45 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2020/01/08 10:17:15 schwarze Exp $
REGRESS_TARGETS = badarg dupe late long manarg noarg order
LINT_TARGETS = badarg dupe late long manarg noarg order
@@ -18,6 +18,6 @@ SKIP_GROFF = badarg long manarg noarg
# Autodetection fails for late .Dd, so specify -mdoc explicitly.
-MOPTS += -mdoc
+MOPTS = -mdoc
.include <bsd.regress.mk>
diff --git a/regress/regress.pl b/regress/regress.pl
index cc6f3806..01e46b3e 100755
--- a/regress/regress.pl
+++ b/regress/regress.pl
@@ -165,10 +165,9 @@ foreach my $module (qw(roff char mdoc man tbl eqn)) {
my %subvars = (MOPTS => '');
parse_makefile "$module/$subdir/Makefile", \%subvars;
parse_makefile "$module/Makefile.inc", \%subvars;
+ delete $subvars{GOPTS};
delete $subvars{SKIP_GROFF};
delete $subvars{SKIP_GROFF_ASCII};
- delete $subvars{TBL};
- delete $subvars{EQN};
my @mandoc = ('../mandoc', split ' ', $subvars{MOPTS});
delete $subvars{MOPTS};
my @regress_testnames;
diff --git a/regress/tbl/Makefile.inc b/regress/tbl/Makefile.inc
index 95860d51..56c3f7f5 100644
--- a/regress/tbl/Makefile.inc
+++ b/regress/tbl/Makefile.inc
@@ -1,16 +1,7 @@
-# $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $
-
-TBL = /usr/local/bin/tbl
+# $OpenBSD: Makefile.inc,v 1.4 2020/01/08 10:17:15 schwarze Exp $
SKIP_TMAN ?= ALL
SKIP_MARKDOWN ?= ALL
-
-
-# OpenBSD only: maintainer targets
-
-.for t in ${REGRESS_TARGETS}
-${t}.out_ascii: ${t}.in
- ${TBL} ${.ALLSRC} | ${NROFF} ${NOPTS} -Tascii > ${.TARGET}
-.endfor
+GOPTS = -t
.include "../Makefile.inc"