aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/pugl/doc/meson.build
blob: 583f09dafc7c3ac1c2a112accd96016b177f84d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
docdir = get_option('datadir') / 'doc'

doxygen = find_program('doxygen', required: get_option('docs'))
dox_to_sphinx = find_program('../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('_static')
  subdir('c')
  subdir('cpp')
endif