aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 53d4392..00e90ed 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -63,6 +63,22 @@ refman_json = custom_target(
],
)
+refman_man = custom_target(
+ 'gen_refman_man',
+ build_by_default: true,
+ input: refman_binary,
+ output: 'meson-reference.3',
+ command: [
+ genrefman,
+ '-l', 'pickle',
+ '-g', 'man',
+ '-i', '@INPUT@',
+ '-o', '@OUTPUT@',
+ '--force-color',
+ '--no-modules',
+ ],
+)
+
test('validate_docs', find_program('./jsonvalidator.py'), args: [refman_json])
hotdoc_prog = find_program('hotdoc', version: '>=0.13.7')