meson: pass docdir option
commit491e74c158d6bcac3291d2ec354093029169e572
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 26 Aug 2020 11:04:17 +0000 (26 15:04 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 12:51:33 +0000 (1 08:51 -0400)
treec57f760606c2a80073e16c6d8442e8ef275de5b0
parentab4c0996f80d43d1fc28c6e76f4ecb27423a7e29
meson: pass docdir option

When cross-compiling, by default qemu_docdir is 'c:\Program Files\QEMU\'
which is not recognized as being an absolute path, and meson will end up
adding the prefix again.

Add an option to pass docdir location to meson, pre-prefixed like we do
with other directories, build qemu_docdir with the common suffix and use
that instead of config_host['qemu_docdir'].

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200826110419.528931-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
docs/meson.build
meson.build
meson_options.txt