• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1doxyfile_conf = configuration_data()
2doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
3doxyfile_conf.set('PACKAGE_VERSION', meson.project_version())
4doxyfile_conf.set('top_srcdir', meson.source_root())
5doxyfile_conf.set('top_builddir', meson.build_root())
6
7if find_program('dot', required: false).found()
8  doxyfile_conf.set('HAVE_DOT', 'YES')
9else
10  doxyfile_conf.set('HAVE_DOT', 'NO')
11endif
12
13doxyfile = configure_file(input: 'Doxyfile.in',
14                          output: 'Doxyfile',
15                          configuration: doxyfile_conf,
16                          install: false)
17
18docdir = join_paths(epoxy_datadir, 'doc')
19
20html_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'))
26