Merge branch 'html-doc-flag' into 'main'

meson: wrap html documentation generation with gtk_doc option

See merge request GNOME/glib!3399
This commit is contained in:
Philip Withnall
2023-04-28 01:09:04 +00:00

View File

@@ -113,6 +113,7 @@ if get_option('man')
endforeach
endif
if get_option('gtk_doc')
# GVariant specification is currently standalone
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
@@ -145,3 +146,4 @@ if rst2html5.found()
install_tag : 'doc',
)
endif
endif