aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-09-23 16:08:07 -0400
committerDavid Robillard <d@drobilla.net>2023-09-23 17:09:41 -0400
commit31a8dbcca82a394f0dd236776692a8a53a031777 (patch)
tree6e6e09921441c8ba33de9b88ae2db7ba3f402f49 /doc
parent7e8c1c7f96ea94869040fadd4550852b5ad67911 (diff)
downloadlv2-31a8dbcca82a394f0dd236776692a8a53a031777.tar.xz
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.build2
-rw-r--r--doc/ns/ext/meson.build1
-rw-r--r--doc/ns/extensions/meson.build1
-rw-r--r--doc/ns/meson.build9
-rw-r--r--doc/style/meson.build5
5 files changed, 10 insertions, 8 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build
index 7285c60..da88b86 100644
--- a/doc/c/meson.build
+++ b/doc/c/meson.build
@@ -11,7 +11,7 @@ if doxygen.found()
'LV2_SRCDIR': lv2_source_root,
'LV2_BUILDDIR': lv2_build_root,
'LV2_VERSION': meson.project_version(),
- }
+ },
)
reference_doxygen = configure_file(
diff --git a/doc/ns/ext/meson.build b/doc/ns/ext/meson.build
index c76f1a2..bf6431b 100644
--- a/doc/ns/ext/meson.build
+++ b/doc/ns/ext/meson.build
@@ -45,6 +45,7 @@ if build_docs
command: lv2specgen_command_prefix + [
'--docdir=../../c/html',
'--style-uri=../../style/style.css',
+ ] + [
'@INPUT@',
'@OUTPUT@',
],
diff --git a/doc/ns/extensions/meson.build b/doc/ns/extensions/meson.build
index 599deb8..837f736 100644
--- a/doc/ns/extensions/meson.build
+++ b/doc/ns/extensions/meson.build
@@ -26,6 +26,7 @@ if build_docs
command: lv2specgen_command_prefix + [
'--docdir=../../c/html',
'--style-uri=../../style/style.css',
+ ] + [
'@INPUT@',
'@OUTPUT@',
],
diff --git a/doc/ns/meson.build b/doc/ns/meson.build
index cda9ba0..126a100 100644
--- a/doc/ns/meson.build
+++ b/doc/ns/meson.build
@@ -24,6 +24,7 @@ if build_docs
command: lv2specgen_command_prefix + [
'--docdir=../c/html',
'--style-uri=../style/style.css',
+ ] + [
'@INPUT@',
'@OUTPUT@',
],
@@ -55,12 +56,14 @@ subdir('extensions')
# Index #
#########
-lv2_build_index = find_program(lv2_source_root / 'scripts' / 'lv2_build_index.py')
+lv2_build_index = find_program(
+ lv2_source_root / 'scripts' / 'lv2_build_index.py',
+)
lv2_build_index_command = [
lv2_build_index,
- '--lv2-version', meson.project_version(),
- '--lv2-source-root', lv2_source_root,
+ ['--lv2-version', meson.project_version()],
+ ['--lv2-source-root', lv2_source_root],
]
if get_option('online_docs')
diff --git a/doc/style/meson.build b/doc/style/meson.build
index 501c0fa..39e9242 100644
--- a/doc/style/meson.build
+++ b/doc/style/meson.build
@@ -1,10 +1,7 @@
# Copyright 2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-style_files = files(
- 'pygments.css',
- 'style.css'
-)
+style_files = files('pygments.css', 'style.css')
foreach file : style_files
configure_file(