diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/roff/de/Makefile | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/roff/de/Makefile')
-rw-r--r-- | regress/roff/de/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/regress/roff/de/Makefile b/regress/roff/de/Makefile new file mode 100644 index 00000000..9488ce05 --- /dev/null +++ b/regress/roff/de/Makefile @@ -0,0 +1,44 @@ +# $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $ + +REGRESS_TARGETS = append cond escname factorial indir startde TH Dd +LINT_TARGETS = escname indir + +.include <bsd.regress.mk> + + +# OpenBSD only: non-standard targets + +# --- additions to public targets --- + +all ascii: ascii-diff-opt + +ascii-clean: ascii-clean-opt + +groff: TH.out_ascii_opt Dd.out_ascii_opt + +groff-clean: groff-clean-opt + + +# --- local rules --- + +ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt + @${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt + @${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt + +TH.mandoc_ascii_opt: TH.in + @${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET} + +Dd.mandoc_ascii_opt: Dd.in + @${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET} + +ascii-clean-opt: + @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt + +TH.out_ascii_opt: TH.in + /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET} + +Dd.out_ascii_opt: Dd.in + /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET} + +groff-clean-opt: + rm -f TH.out_ascii_opt Dd.out_ascii_opt |