diff options
author | David Robillard <d@drobilla.net> | 2022-07-03 20:47:34 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-18 20:16:10 -0400 |
commit | 75e647def0f67647ec7ba1405e26d809a87c62fc (patch) | |
tree | 13a73ca75976824ba991c8c7d235830ce663c1e8 /doc/meson.build | |
parent | ed283b838681ed3fb28e94140a6dc5172945776f (diff) | |
download | sratom-75e647def0f67647ec7ba1405e26d809a87c62fc.tar.gz sratom-75e647def0f67647ec7ba1405e26d809a87c62fc.tar.bz2 sratom-75e647def0f67647ec7ba1405e26d809a87c62fc.zip |
Switch to meson build system
Diffstat (limited to 'doc/meson.build')
-rw-r--r-- | doc/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
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 |