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/singlehtml/meson.build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'doc/singlehtml') diff --git a/doc/singlehtml/meson.build b/doc/singlehtml/meson.build index 5d3912d..ed4bb71 100644 --- a/doc/singlehtml/meson.build +++ b/doc/singlehtml/meson.build @@ -8,13 +8,12 @@ singlehtml_dir = docdir / versioned_name / 'singlehtml' custom_target( 'singlehtml', build_by_default: true, - command: [ - sphinx_build, - '-M', 'singlehtml', - '@OUTDIR@' / '..', - '@OUTDIR@' / '..', + command: sphinx_build_command + [ + '-b', 'singlehtml', '-t', 'singlehtml', - ] + sphinx_flags, + sphinx_in_dir, + '@OUTDIR@', + ], input: [api_lilv_rst, conf_py, sphinx_input], install: true, install_dir: singlehtml_dir, @@ -27,7 +26,7 @@ custom_target( if not meson.is_subproject() summary( - 'Unified HTML', + 'Single HTML', get_option('prefix') / singlehtml_dir, section: 'Directories', ) -- cgit v1.2.1