Build HTML versions of the man pages

And install them in the same directory as the API reference, so it's
possible to link them.

Fixes: #2896
This commit is contained in:
Emmanuele Bassi
2024-06-02 15:15:31 +00:00
committed by Philip Withnall
parent c02f50f0ba
commit 10fd218666
4 changed files with 91 additions and 29 deletions

View File

@@ -2648,9 +2648,11 @@ if rst2man.found()
rst2man_flags = [
'--syntax-highlight=none',
]
man1_dir = join_paths(glib_prefix, get_option('mandir'), 'man1')
man1_dir = glib_prefix / get_option('mandir') / 'man1'
endif
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: get_option('documentation'))
gnome = import('gnome')
subdir('docs/reference')