doc: fix build when sphinx reports version to stderr
[dpdk.git] / doc / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
3
4 doc_targets = []
5 doc_target_names = []
6 subdir('api')
7 subdir('guides')
8
9 if doc_targets.length() == 0
10         message = 'No docs targets found'
11 else
12         message = 'Building docs:'
13 endif
14 run_target('doc', command: ['echo', message, doc_target_names],
15         depends: doc_targets)