mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Add gi-* man pages to the build system
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
66fda286e1
commit
b0163afd3b
@ -1,3 +1,25 @@
|
||||
if get_option('man-pages').enabled()
|
||||
manpages = [
|
||||
'gi-compile-repository',
|
||||
'gi-decompile-typelib',
|
||||
]
|
||||
foreach page : manpages
|
||||
custom_target(page + '-man',
|
||||
input: page + '.rst',
|
||||
output: page + '.1',
|
||||
command: [
|
||||
rst2man,
|
||||
rst2man_flags,
|
||||
'@INPUT@',
|
||||
],
|
||||
capture: true,
|
||||
install: true,
|
||||
install_dir: man1_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
endforeach
|
||||
endif
|
||||
|
||||
if get_option('documentation') and enable_gir
|
||||
expand_content_files = [
|
||||
'migrating-gi.md',
|
||||
|
Loading…
Reference in New Issue
Block a user