[README,doc,meson*] Rework documentation build

* Avoid going through hoops to silently enable docs if doxygen is
  available
* Require build-doc explicitly set to true before scanning for doxygen
* build-doc is conservatively false by default
* Update README
This commit is contained in:
2023-05-25 22:51:22 +02:00
parent 20d0b9bd44
commit d09c5ddee4
4 changed files with 12 additions and 10 deletions

View File

@ -6,6 +6,8 @@ cdata = configuration_data({
'PROJECT_NAME': meson.project_name(),
})
doxygen = find_program('doxygen')
doxyfile = configure_file(input : 'Doxyfile.in',
output : 'Doxyfile',
configuration : cdata,