New upstream version 18.11-rc1
[deb_dpdk.git] / doc / meson.build
diff --git a/doc/meson.build b/doc/meson.build
new file mode 100644 (file)
index 0000000..c5410d8
--- /dev/null
@@ -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)