mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
docs: Install the gi-docgen docs
They are now installed to (e.g.) `${prefix}/share/doc/glib-2.0/{glib,gmodule,gobject,gio}/index.html`. We might want to drop one level of nesting out of that, but for the moment I thought I’d keep it in so we can disambiguate by installed major version. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
419777b0f1
commit
d2dbfba208
@ -54,4 +54,7 @@ custom_target('gio-docs',
|
|||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
depend_files: expand_content_files,
|
depend_files: expand_content_files,
|
||||||
|
install: true,
|
||||||
|
install_dir: docs_dir,
|
||||||
|
install_tag: 'doc',
|
||||||
)
|
)
|
||||||
|
@ -18,7 +18,7 @@ if get_option('documentation')
|
|||||||
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
|
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
|
||||||
|
|
||||||
if rst2html5.found()
|
if rst2html5.found()
|
||||||
spec_path = glib_datadir / 'doc' / 'glib-2.0'
|
spec_path = docs_dir
|
||||||
|
|
||||||
figures = files(
|
figures = files(
|
||||||
'gvariant-byte-boundaries.svg',
|
'gvariant-byte-boundaries.svg',
|
||||||
@ -109,4 +109,7 @@ custom_target('glib-docs',
|
|||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
depend_files: expand_content_files,
|
depend_files: expand_content_files,
|
||||||
|
install: true,
|
||||||
|
install_dir: docs_dir,
|
||||||
|
install_tag: 'doc',
|
||||||
)
|
)
|
||||||
|
@ -20,4 +20,7 @@ custom_target('gmodule-docs',
|
|||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
depend_files: expand_content_files,
|
depend_files: expand_content_files,
|
||||||
|
install: true,
|
||||||
|
install_dir: docs_dir,
|
||||||
|
install_tag: 'doc',
|
||||||
)
|
)
|
||||||
|
@ -41,4 +41,7 @@ custom_target('gobject-docs',
|
|||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
depend_files: expand_content_files,
|
depend_files: expand_content_files,
|
||||||
|
install: true,
|
||||||
|
install_dir: docs_dir,
|
||||||
|
install_tag: 'doc',
|
||||||
)
|
)
|
||||||
|
@ -14,6 +14,8 @@ if get_option('documentation') and enable_gir
|
|||||||
'--fatal-warnings',
|
'--fatal-warnings',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
|
||||||
|
|
||||||
subdir('glib')
|
subdir('glib')
|
||||||
subdir('gmodule')
|
subdir('gmodule')
|
||||||
subdir('gobject')
|
subdir('gobject')
|
||||||
|
Loading…
Reference in New Issue
Block a user