aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Dd
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-08 22:54:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-08 22:54:22 +0000
commit45fc5a37fb711aa526cb48490fba3c3c2ec09adc (patch)
tree9270650703d611e4df4f0547d712690b3f64cc6c /regress/mdoc/Dd
parentc9dc8e26c183aab06a071399e51a955995aa934c (diff)
downloadmandoc-45fc5a37fb711aa526cb48490fba3c3c2ec09adc.tar.gz
mandoc-45fc5a37fb711aa526cb48490fba3c3c2ec09adc.tar.zst
mandoc-45fc5a37fb711aa526cb48490fba3c3c2ec09adc.zip
Now that markdown output is tested for almost everything, test all
input files in -T markdown output mode by default and only mark those files with SKIP_MARKDOWN that are not to be tested. Much easier to read, and almost minus 40 lines of Makefile code.
Diffstat (limited to 'regress/mdoc/Dd')
-rw-r--r--regress/mdoc/Dd/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/mdoc/Dd/Makefile b/regress/mdoc/Dd/Makefile
index 396b268d..870d1cd9 100644
--- a/regress/mdoc/Dd/Makefile
+++ b/regress/mdoc/Dd/Makefile
@@ -2,7 +2,11 @@
REGRESS_TARGETS = badarg dupe late long manarg noarg order
LINT_TARGETS = badarg dupe late long manarg noarg order
-MARKDOWN_TARGETS = badarg dupe late long manarg order
+
+# noarg output contains the date when the file is formatted
+
+SKIP_ASCII ?= noarg
+SKIP_MARKDOWN ?= noarg
# If groff finds exactly three arguments, it assumes they are month,
# day and year without further checking. If there are no arguments,
@@ -11,7 +15,6 @@ MARKDOWN_TARGETS = badarg dupe late long manarg order
# That is not at all sane behaviour, we are not going to imitate it.
SKIP_GROFF = badarg long manarg noarg
-SKIP_ASCII = noarg
# Autodetection fails for late .Dd, so specify -mdoc explicitly.