summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/doc/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/doc/meson.build')
-rw-r--r--src/spdk/dpdk/doc/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/spdk/dpdk/doc/meson.build b/src/spdk/dpdk/doc/meson.build
new file mode 100644
index 000000000..c5410d85d
--- /dev/null
+++ b/src/spdk/dpdk/doc/meson.build
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
+
+doc_targets = []
+doc_target_names = []
+subdir('api')
+subdir('guides')
+
+if doc_targets.length() == 0
+ message = 'No docs targets found'
+else
+ message = 'Building docs:'
+endif
+run_target('doc', command: ['echo', message, doc_target_names],
+ depends: doc_targets)