summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorMarc-André Lureau2020-08-26 13:04:17 +0200
committerPaolo Bonzini2020-09-01 14:51:33 +0200
commit491e74c158d6bcac3291d2ec354093029169e572 (patch)
treec57f760606c2a80073e16c6d8442e8ef275de5b0 /meson_options.txt
parentmeson: use meson datadir instead of qemu_datadir (diff)
downloadqemu-491e74c158d6bcac3291d2ec354093029169e572.tar.gz
qemu-491e74c158d6bcac3291d2ec354093029169e572.tar.xz
qemu-491e74c158d6bcac3291d2ec354093029169e572.zip
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>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index f4275691bd..c3120fa359 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,7 @@
option('qemu_suffix', type : 'string', value: 'qemu',
description: 'Suffix for QEMU data/modules/config directories (can be empty)')
+option('docdir', type : 'string', value : 'doc',
+ description: 'Base directory for documentation installation (can be empty)')
option('gettext', type : 'boolean', value : true)
option('sdl', type : 'feature', value : 'auto')
option('sdl_image', type : 'feature', value : 'auto')