diff options
author | Stone Tickle <lattis@mochiro.moe> | 2022-01-05 11:21:22 -0600 |
---|---|---|
committer | Stone Tickle <lattis@mochiro.moe> | 2022-01-06 20:14:34 -0600 |
commit | 71ea9e3d4c2036f8338d575b00134c73e4914bad (patch) | |
tree | 23e7695beeb039bcf3032b801e23cf273f349474 /docs | |
parent | ac468a139485022e11572fcde38daee1958d8be2 (diff) | |
download | meson-71ea9e3d4c2036f8338d575b00134c73e4914bad.zip meson-71ea9e3d4c2036f8338d575b00134c73e4914bad.tar.gz meson-71ea9e3d4c2036f8338d575b00134c73e4914bad.tar.bz2 |
add man page generation to build
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meson.build | 16 |
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') |