tidy up the doc meson.build file

This commit is contained in:
Chris Cromer 2022-12-09 23:41:10 -03:00
parent c4792d88fc
commit 6a3fccdcba
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
1 changed files with 10 additions and 8 deletions

View File

@ -2,15 +2,17 @@ cdata.set('TOP_SRCDIR', meson.source_root())
cdata.set('TOP_BUILDDIR', meson.build_root())
doxyfile = configure_file(input: 'doxygen.conf.in',
output: 'doxygen.conf',
configuration: cdata,
install: false)
output: 'doxygen.conf',
configuration: cdata,
install: false
)
datadir = join_paths(get_option('datadir'), 'doc', 'obelisk')
html_target = custom_target('obelisk-docs',
input: doxyfile,
output: 'html',
command: [doxygen, doxyfile],
install: true,
install_dir: datadir)
input: doxyfile,
output: 'html',
command: [doxygen, doxyfile],
install: true,
install_dir: datadir
)