diff options
author | David Robillard <d@drobilla.net> | 2022-12-04 19:23:29 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-08 19:09:11 -0500 |
commit | 9b4f39bbae7629d80aeb918f5535966aff18ed92 (patch) | |
tree | d2a38ae69afb954a55e6b7224666450bc4ef566b /doc/meson.build | |
parent | cb2853241af41928fb45f5c371aa76cd87f36a40 (diff) | |
download | suil-9b4f39bbae7629d80aeb918f5535966aff18ed92.tar.gz suil-9b4f39bbae7629d80aeb918f5535966aff18ed92.tar.bz2 suil-9b4f39bbae7629d80aeb918f5535966aff18ed92.zip |
Replace duplicated dox_to_sphinx script with sphinxygen dependency
Diffstat (limited to 'doc/meson.build')
-rw-r--r-- | doc/meson.build | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/meson.build b/doc/meson.build index 7e447d5..4bccb1f 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -4,10 +4,15 @@ docdir = get_option('datadir') / 'doc' doxygen = find_program('doxygen', required: get_option('docs')) -dox_to_sphinx = files('../scripts/dox_to_sphinx.py') +sphinxygen = find_program('sphinxygen', required: false) sphinx_build = find_program('sphinx-build', required: get_option('docs')) -build_docs = doxygen.found() and sphinx_build.found() +if not sphinxygen.found() + subproject('sphinxygen') + sphinxygen = find_program('sphinxygen', required: get_option('docs')) +endif + +build_docs = doxygen.found() and sphinxygen.found() and sphinx_build.found() if build_docs subdir('c') |