summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/tbl/Makefile
blob: 865c0b65cd7f5753a9c5f0b1c0d91db96e3dd019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $OpenBSD: Makefile,v 1.10 2015/01/28 02:23:33 schwarze Exp $

REGRESS_TARGETS	 = blankline center expand fonts layout macro misalign
REGRESS_TARGETS	+= nested numbers opt span vert
LINT_TARGETS	 = layout macro nested opt

# groff-1.22.3 defect:
# - When space is insufficient (on either side) for properly aligning
#   a number, GNU tbl(1) moves the number too much to the right,
#   overflowing the column, even if space would be sufficient without
#   left padding.

# trivial difference to groff-1.22.3:
# .TS in a table causes a blank table line in GNU tbl(1), but not in mandoc.

SKIP_GROFF	 = misalign nested
SKIP_TMAN	?= ALL SILENT

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>