mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-03 15:49:07 -04:00
build: Install the documentation
This commit is contained in:
parent
a42ec3a945
commit
64569252e3
2 changed files with 5 additions and 1 deletions
|
@ -4,8 +4,10 @@ sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: true)
|
|||
|
||||
custom_target('docs',
|
||||
command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), meson.current_source_dir(), '@OUTPUT@'],
|
||||
output: 'en',
|
||||
output: meson.project_name(),
|
||||
build_always_stale: true,
|
||||
install: true,
|
||||
install_dir: datadir / 'doc',
|
||||
)
|
||||
|
||||
endif
|
||||
|
|
|
@ -5,6 +5,8 @@ project('blueprint-compiler',
|
|||
prefix = get_option('prefix')
|
||||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
|
||||
subdir('docs')
|
||||
|
||||
py = import('python').find_installation('python3')
|
||||
|
||||
subdir('docs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue