2022-12-09 23:25:36 -03:00
|
|
|
cdata.set('TOP_SRCDIR', meson.source_root())
|
|
|
|
cdata.set('TOP_BUILDDIR', meson.build_root())
|
|
|
|
|
|
|
|
doxyfile = configure_file(input: 'doxygen.conf.in',
|
2022-12-09 23:41:10 -03:00
|
|
|
output: 'doxygen.conf',
|
|
|
|
configuration: cdata,
|
|
|
|
install: false
|
|
|
|
)
|
2022-12-09 23:25:36 -03:00
|
|
|
|
|
|
|
datadir = join_paths(get_option('datadir'), 'doc', 'obelisk')
|
|
|
|
|
|
|
|
html_target = custom_target('obelisk-docs',
|
2022-12-09 23:41:10 -03:00
|
|
|
input: doxyfile,
|
|
|
|
output: 'html',
|
|
|
|
command: [doxygen, doxyfile],
|
|
|
|
install: true,
|
|
|
|
install_dir: datadir
|
|
|
|
)
|