From c57b77099bd2cdc4fd8072f4cb314caecd6753ec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Sep 2023 17:01:42 -0400 Subject: Clean up sphinx build commands --- doc/html/meson.build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'doc/html/meson.build') diff --git a/doc/html/meson.build b/doc/html/meson.build index df7cb72..59da474 100644 --- a/doc/html/meson.build +++ b/doc/html/meson.build @@ -8,13 +8,12 @@ html_dir = docdir / versioned_name / 'html' custom_target( 'html', build_by_default: true, - command: [ - sphinx_build, - '-M', 'html', - '@OUTDIR@' / '..', - '@OUTDIR@' / '..', + command: sphinx_build_command + [ + '-b', 'html', '-t', 'html', - ] + sphinx_flags, + sphinx_in_dir, + '@OUTDIR@', + ], input: [api_lilv_rst, conf_py, sphinx_input], install: true, install_dir: html_dir, @@ -33,7 +32,7 @@ custom_target( if not meson.is_subproject() summary( - 'Paginated HTML', + 'HTML', get_option('prefix') / html_dir, section: 'Directories', ) -- cgit v1.2.1