Skip to content

Commit

Permalink
Fix Doxygen support
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed Nov 15, 2022
1 parent b66f2ec commit 81bbc4e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
error('Docs Currently unsupported')
doxygen = find_program('doxygen', required : false)
if doxygen.found()
run_target('docs', command : [doxygen, meson.source_root() + '/doc/Doxyfile'])
doxy_file = configure_file(
configuration: {'PACKAGE': meson.project_name(), 'VERSION': '0.9', 'TOPSRCDIR': meson.source_root(), 'DESTDIR': meson.build_root() + '/doc/docs'},
input: 'Doxyfile.dist',
output: 'Doxyfile'
)
run_command([doxygen, meson.build_root() + '/doc/Doxyfile'], check: false)
install_subdir(meson.build_root() + '/doc/docs/html', install_dir: 'docs')
else
warning('Documentation disabled without doxygen')
endif
endif

0 comments on commit 81bbc4e

Please sign in to comment.