Files
libepoxy/doc/meson.build
Emmanuele Bassi ef1ef6cadb Remove unnecessary bits from the documentation build rules
We don't need to list the source files as we use a glob rule in the
Doxyfile itself.
2017-02-10 11:11:04 +00:00

20 lines
811 B
Meson

doxyfile_conf = configuration_data()
doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
doxyfile_conf.set('PACKAGE_VERSION', meson.project_version())
doxyfile_conf.set('top_srcdir', meson.source_root())
doxyfile_conf.set('top_builddir', meson.build_root())
doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile',
configuration: doxyfile_conf,
install: false)
docdir = join_paths(epoxy_datadir, 'doc')
html_target = custom_target('epoxy-docs',
input: [ doxyfile ],
output: [ 'html' ],
command: [ doxygen, doxyfile ],
install: true,
install_dir: join_paths(docdir, 'epoxy'))