aboutsummaryrefslogtreecommitdiffstats
path: root/doc/meson.build
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 /doc/meson.build
parent5b1b8f450e882f7cd80f2ba2a44ee781cf599a20 (diff)
downloadserd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.tar.gz
serd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.tar.bz2
serd-0bd97c0deec5829b73b17d009d74fc0346e8d3f2.zip
Run mandoc with strict errors
Diffstat (limited to 'doc/meson.build')
-rw-r--r--doc/meson.build9
1 files changed, 8 insertions, 1 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',
)