summaryrefslogtreecommitdiff
path: root/docs/meson.build
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-01-07 18:55:07 +0200
committerGitHub <noreply@github.com>2022-01-07 18:55:07 +0200
commit8b54ee58efe5dc8f2cb23a1e54578090243bc599 (patch)
tree6ec94ebe2dfe402d22296ced40bb81789c6fb4d4 /docs/meson.build
parent484a389bbe186120f3328b6c47c86b087f32a530 (diff)
parent2c4a98f851c4a363cb8dd83b2270243ce2990442 (diff)
downloadmeson-8b54ee58efe5dc8f2cb23a1e54578090243bc599.tar.gz
Merge pull request #9773 from annacrombie/master
Add a man page backend to refman
Diffstat (limited to 'docs/meson.build')
-rw-r--r--docs/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 53d4392ef..00e90ed6d 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')