]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
doc: Make Meson yelp-build invocation compatible with older versions
authorSimon McVittie <smcv@collabora.com>
Mon, 27 Jun 2022 11:54:52 +0000 (12:54 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
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>
doc/meson.build

index 458dbacb5b0fe0d50536502a6f36db428fc2e262..2b49502fd2b1829b504aa156a33e34672821a391 100644 (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,
     )