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>
This commit is contained in:
Simon McVittie 2022-06-27 12:54:52 +01:00
parent 29ae675978
commit c74504fb7e

View file

@ -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,
)