diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 16:56:45 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 16:56:45 -0400 |
commit | f4b2ca45a95399736cba03458cb28958ec4b8379 (patch) | |
tree | af6e0026c781b1d67a267a827fe09806ab25d515 /doc/singlehtml | |
parent | ac23e74f8bce3d782fb202e0787bbff737e07733 (diff) | |
download | zix-f4b2ca45a95399736cba03458cb28958ec4b8379.tar.gz zix-f4b2ca45a95399736cba03458cb28958ec4b8379.tar.bz2 zix-f4b2ca45a95399736cba03458cb28958ec4b8379.zip |
Clean up sphinx build commands
Diffstat (limited to 'doc/singlehtml')
-rw-r--r-- | doc/singlehtml/meson.build | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/singlehtml/meson.build b/doc/singlehtml/meson.build index 63a1bc2..d3e3b0d 100644 --- a/doc/singlehtml/meson.build +++ b/doc/singlehtml/meson.build @@ -6,13 +6,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_zix_rst, conf_py, sphinx_input], install: true, install_dir: singlehtml_dir, @@ -25,7 +24,7 @@ custom_target( if not meson.is_subproject() summary( - 'Unified HTML', + 'Single HTML', get_option('prefix') / singlehtml_dir, section: 'Directories', ) |