summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-27 12:54:52 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commitc74504fb7ebc395c28f8f4eab5c5ddc881e17a12 (patch)
tree7f52a893d474e236b90871a374be5722a4bd215c /doc
parent29ae675978a122ed265381c2d7edb3b9c497e525 (diff)
downloaddbus-c74504fb7ebc395c28f8f4eab5c5ddc881e17a12.tar.gz
doc: Make Meson yelp-build invocation compatible with older versions
Older versions of yelp-build like the one in Debian 11 do not allow permuting arguments, so all options (in this case -o) must appear before all positional parameters. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 458dbacb..2b49502f 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -226,7 +226,11 @@ if ducktype.found() and yelpbuild.found()
'C.css',
'highlight.pack.js',
],
- command: [ yelpbuild, 'html', '@INPUT@', '-o', meson.current_build_dir() ],
+ command: [
+ yelpbuild, 'html',
+ '-o', meson.current_build_dir(),
+ '@INPUT@',
+ ],
install: true,
install_dir: docs_dir,
)