From 9b8d847284eea14d64d8d22cefde8103dee41132 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2022 14:53:16 -0400 Subject: Clean up meson definitions --- doc/cpp/meson.build | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'doc/cpp/meson.build') diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build index 559362d..bc7af98 100644 --- a/doc/cpp/meson.build +++ b/doc/cpp/meson.build @@ -4,9 +4,11 @@ config = configuration_data() config.set('PUGL_VERSION', meson.project_version()) -conf_py = configure_file(configuration: config, - input: '../conf.py.in', - output: 'conf.py') +conf_py = configure_file( + configuration: config, + input: '../conf.py.in', + output: 'conf.py', +) configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst') configure_file(copy: true, input: '../summary.rst', output: 'summary.rst') @@ -29,20 +31,22 @@ subdir('api') docs = custom_target( 'singlehtml', + build_by_default: true, command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@', '-E', '-q', '-t', 'singlehtml'], input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml], - output: 'singlehtml', - build_by_default: true, install: true, - install_dir: docdir / 'puglpp-0') + install_dir: docdir / 'puglpp-0', + output: 'singlehtml', +) docs = custom_target( 'html', command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@', '-E', '-q', '-t', 'html'], - input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml], - output: 'html', build_by_default: true, + input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml], install: true, - install_dir: docdir / 'puglpp-0') + install_dir: docdir / 'puglpp-0', + output: 'html', +) -- cgit v1.2.1