aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-05 14:49:36 -0400
committerDavid Robillard <d@drobilla.net>2023-05-05 14:49:36 -0400
commit0bd97c0deec5829b73b17d009d74fc0346e8d3f2 (patch)
tree74ffacc824391da76efd50cbf79b84400000c3ea
parent5b1b8f450e882f7cd80f2ba2a44ee781cf599a20 (diff)
downloadserd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.tar.gz
serd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.tar.bz2
serd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.zip
Run mandoc with strict errors
-rw-r--r--doc/meson.build9
-rw-r--r--doc/serdi.14
2 files changed, 10 insertions, 3 deletions
diff --git a/doc/meson.build b/doc/meson.build
index c57751a2..9366e8a0 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -46,7 +46,14 @@ if mandoc.found()
'serdi.html',
build_by_default: true,
capture: true,
- command: [mandoc, '-Thtml', '-Werror', '-O', 'style=mandoc.css', '@INPUT@'],
+ command: [
+ mandoc,
+ '-Kutf-8',
+ '-Ostyle=mandoc.css,man=%N.html',
+ '-Thtml',
+ '-Wwarning,stop',
+ '@INPUT@',
+ ],
input: files('serdi.1'),
output: 'serdi.html',
)
diff --git a/doc/serdi.1 b/doc/serdi.1
index f9520892..f3e42756 100644
--- a/doc/serdi.1
+++ b/doc/serdi.1
@@ -1,5 +1,5 @@
-.\" # Copyright 2011-2022 David Robillard <d@drobilla.net>
-.\" # SPDX-License-Identifier: ISC
+.\" Copyright 2011-2022 David Robillard <d@drobilla.net>
+.\" SPDX-License-Identifier: ISC
.Dd April 30, 2023
.Dt SERDI 1
.Os Serd 0.31.5