From: Simon McVittie Date: Mon, 27 Jun 2022 11:54:52 +0000 (+0100) Subject: doc: Make Meson yelp-build invocation compatible with older versions X-Git-Tag: dbus-1.15.0~32^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c74504fb7ebc395c28f8f4eab5c5ddc881e17a12;p=thirdparty%2Fdbus.git 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 --- diff --git a/doc/meson.build b/doc/meson.build index 458dbacb5..2b49502fd 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, )