summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/roff/esc/Makefile
blob: e9705972a80d76727ab39a66ddd325cfb8bf4d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $OpenBSD: Makefile,v 1.3 2012/05/28 22:45:34 schwarze Exp $

REGRESS_TARGETS=one two multi c f h z ignore

# Postprocessing to remove "character backspace" sequences
# unless they are foolowed by the same character again.
# This removes underlining as well, so we mustn't use it.
# Cannot use /g because matches progress backwards.

z.out_ascii: z.in
	${NROFF} ${.ALLSRC} | \
		perl -pe 'while (s/(.)\010(?!\1)//) {}' \
		> ${.TARGET}

.include <bsd.regress.mk>