diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 18:53:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 18:53:15 -0400 |
commit | f6f0ecfa0aa9872a582e22f2b839d500105aafa1 (patch) | |
tree | f4eae44cd0de87ee9e94bc8ffc76e55ecb28409b /doc | |
parent | a347ffd2f45feb4e180dd470046436f51591bd91 (diff) | |
download | pugl-f6f0ecfa0aa9872a582e22f2b839d500105aafa1.tar.gz pugl-f6f0ecfa0aa9872a582e22f2b839d500105aafa1.tar.bz2 pugl-f6f0ecfa0aa9872a582e22f2b839d500105aafa1.zip |
Format meson.build files with muon
The less time wasted with manual code formatting, the better.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/c/meson.build | 32 | ||||
-rw-r--r-- | doc/cpp/meson.build | 28 |
2 files changed, 44 insertions, 16 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build index 761557d..1401aa3 100644 --- a/doc/c/meson.build +++ b/doc/c/meson.build @@ -25,14 +25,14 @@ summary_rst = configure_file( copied_rst_files = [deployment_rst, summary_rst] c_rst_files = files( + 'clipboards.rst', + 'event-loop.rst', + 'events.rst', 'index.rst', 'overview.rst', - 'world.rst', + 'shutting-down.rst', 'view.rst', - 'events.rst', - 'event-loop.rst', - 'clipboards.rst', - 'shutting-down.rst' + 'world.rst', ) foreach f : c_rst_files @@ -45,8 +45,15 @@ subdir('api') docs = custom_target( 'singlehtml', build_by_default: true, - command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@', - '-E', '-q', '-t', 'singlehtml'], + command: [ + sphinx_build, + '-M', 'singlehtml', + '@OUTDIR@', + '@OUTDIR@', + '-E', + '-q', + '-t', 'singlehtml', + ], input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml], install: true, install_dir: docdir / 'pugl-0', @@ -56,8 +63,15 @@ docs = custom_target( docs = custom_target( 'html', build_by_default: true, - command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@', - '-E', '-q', '-t', 'html'], + command: [ + sphinx_build, + '-M', 'html', + '@OUTDIR@', + '@OUTDIR@', + '-E', + '-q', + '-t', 'html', + ], input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml], install: true, install_dir: docdir / 'pugl-0', diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build index f18be1b..ca6bc5b 100644 --- a/doc/cpp/meson.build +++ b/doc/cpp/meson.build @@ -14,12 +14,12 @@ configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst') configure_file(copy: true, input: '../summary.rst', output: 'summary.rst') cpp_rst_files = files( + 'event-loop.rst', + 'events.rst', 'index.rst', 'overview.rst', - 'world.rst', 'view.rst', - 'events.rst', - 'event-loop.rst', + 'world.rst', ) foreach f : cpp_rst_files @@ -32,8 +32,15 @@ subdir('api') docs = custom_target( 'singlehtml', build_by_default: true, - command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@', - '-E', '-q', '-t', 'singlehtml'], + command: [ + sphinx_build, + '-M', 'singlehtml', + '@OUTDIR@', + '@OUTDIR@', + '-E', + '-q', + '-t', 'singlehtml', + ], input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml], install: true, install_dir: docdir / 'puglpp-0', @@ -42,8 +49,15 @@ docs = custom_target( docs = custom_target( 'html', - command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@', - '-E', '-q', '-t', 'html'], + command: [ + sphinx_build, + '-M', 'html', + '@OUTDIR@', + '@OUTDIR@', + '-E', + '-q', + '-t', 'html', + ], build_by_default: true, input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml], install: true, |