diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-01-19 16:44:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-01-19 16:44:50 +0000 |
commit | 66e8f935f05d1018898cee9e0c4ad713fc6b8673 (patch) | |
tree | 0e589a7384a81e59e9bb291c205fd9582ad8fd84 /regress/mdoc/Dd/Makefile | |
parent | 8e1caa4a243aa8682d2c7d4fb644be63c055bb5d (diff) | |
download | mandoc-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/Makefile | 16 |
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. |