Debian Codegraph @

doc/meson.build

raw
1 doxyfile_conf = configuration_data()
2 doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
3 doxyfile_conf.set('PACKAGE_VERSION', meson.project_version())
4 doxyfile_conf.set('top_srcdir', meson.source_root())
5 doxyfile_conf.set('top_builddir', meson.build_root())
6
7 if find_program('dot', required: false).found()
8 doxyfile_conf.set('HAVE_DOT', 'YES')
9 else
10 doxyfile_conf.set('HAVE_DOT', 'NO')
11 endif
12
13 doxyfile = configure_file(input: 'Doxyfile.in',
14 output: 'Doxyfile',
15 configuration: doxyfile_conf,
16 install: false)
17
18 docdir = join_paths(epoxy_datadir, 'doc')
19
20 html_target = custom_target('epoxy-docs',
21 input: [ doxyfile ],
22 output: [ 'html' ],
23 command: [ doxygen, doxyfile ],
24 install: true,
25 install_dir: join_paths(docdir, 'epoxy'))