doc: fix build with latest meson
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 5 Jul 2019 15:56:55 +0000 (16:56 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 Jul 2019 08:32:40 +0000 (10:32 +0200)
commit87c95f044568a439175a3fa0becf83b52eed8820
tree45fc18ce307b2b43eeaf89e055bc2b94b10d1589
parentf9d6cd8bfe9e1183209098bb82542b34d23dc0ed
doc: fix build with latest meson

The latest versions of meson don't build targets when build_by_default is
false but install is true, unlike older versions. We can fix this by having
both build_by_default and install settings come from the build-time option.

Bugzilla ID: 303
Fixes: d02a2dab2dfb ("doc: support building HTML guides with meson")
Fixes: 720b14db3ae2 ("build: generate API documentation with meson")
Cc: stable@dpdk.org
Reported-by: Ali Alnubani <alialnu@mellanox.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
doc/api/meson.build
doc/guides/meson.build