aboutsummaryrefslogtreecommitdiffstats
path: root/doc/meson.build
diff options
context:
space:
mode:
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',
)