From 68293752dbfd80016dc7543b88f22c602427fa75 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Jul 2022 17:45:43 -0400 Subject: Switch to meson build system --- doc/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/meson.build (limited to 'doc/meson.build') diff --git a/doc/meson.build b/doc/meson.build new file mode 100644 index 0000000..46fc3bb --- /dev/null +++ b/doc/meson.build @@ -0,0 +1,15 @@ +docdir = get_option('datadir') / 'doc' + +doxygen = find_program('doxygen', required: get_option('docs')) +dox_to_sphinx = files('../scripts/dox_to_sphinx.py') +sphinx_build = find_program('sphinx-build', required: get_option('docs')) + +build_docs = doxygen.found() and sphinx_build.found() + +if build_docs + subdir('c') +endif + +if not meson.is_subproject() + summary('Documentation', build_docs, bool_yn: true) +endif -- cgit v1.2.1