From c74504fb7ebc395c28f8f4eab5c5ddc881e17a12 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 27 Jun 2022 12:54:52 +0100 Subject: [PATCH] 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 --- doc/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, )