mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02:00
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:
@@ -113,10 +113,11 @@ if get_option('man')
|
||||
endforeach
|
||||
endif
|
||||
|
||||
# GVariant specification is currently standalone
|
||||
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
|
||||
if get_option('gtk_doc')
|
||||
# GVariant specification is currently standalone
|
||||
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
|
||||
|
||||
if rst2html5.found()
|
||||
if rst2html5.found()
|
||||
spec_path = glib_datadir / 'doc' / 'glib-2.0'
|
||||
|
||||
figures = files(
|
||||
@@ -144,4 +145,5 @@ if rst2html5.found()
|
||||
install_dir : spec_path,
|
||||
install_tag : 'doc',
|
||||
)
|
||||
endif
|
||||
endif
|
Reference in New Issue
Block a user