obelisk/doc/meson.build

19 lines
464 B
Meson
Raw Permalink Normal View History

2022-12-10 00:27:46 -03:00
cdata.set('TOP_SRCDIR', meson.project_source_root())
cdata.set('TOP_BUILDDIR', meson.project_build_root())
2022-12-09 23:25:36 -03:00
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
)