aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Dd/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
commit66e8f935f05d1018898cee9e0c4ad713fc6b8673 (patch)
tree0e589a7384a81e59e9bb291c205fd9582ad8fd84 /regress/mdoc/Dd/Makefile
parent8e1caa4a243aa8682d2c7d4fb644be63c055bb5d (diff)
downloadmandoc-66e8f935f05d1018898cee9e0c4ad713fc6b8673.tar.gz
mandoc-66e8f935f05d1018898cee9e0c4ad713fc6b8673.tar.zst
mandoc-66e8f935f05d1018898cee9e0c4ad713fc6b8673.zip
Align to the new, sane behaviour of the groff_mdoc(7) .Dd macro:
without an argument, use the empty string, and always concatenate all arguments, no matter their number. This allows reducing the number of arguments of mandoc_normdate() and some other simplifications, at the same time polishing some error messages by adding the name of the macro in question.
Diffstat (limited to 'regress/mdoc/Dd/Makefile')
-rw-r--r--regress/mdoc/Dd/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/regress/mdoc/Dd/Makefile b/regress/mdoc/Dd/Makefile
index e31b2730..9c48fd4e 100644
--- a/regress/mdoc/Dd/Makefile
+++ b/regress/mdoc/Dd/Makefile
@@ -1,20 +1,12 @@
-# $OpenBSD: Makefile,v 1.5 2020/01/08 10:17:15 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2020/01/19 16:16:33 schwarze Exp $
REGRESS_TARGETS = badarg dupe late long manarg noarg order
LINT_TARGETS = badarg dupe late long manarg noarg order
-# noarg output contains the date when the file is formatted
+# groff-1.22.4 prints footer fields of excessive length on top of
+# each other rather than breaking the output line.
-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,
-# groff uses the string "Epoch". Otherwise, it silently falls back
-# to today's date.
-# That is not at all sane behaviour, we are not going to imitate it.
-
-SKIP_GROFF = badarg long manarg noarg
+SKIP_GROFF = long
# Autodetection fails for late .Dd, so specify -mdoc explicitly.