vendored-meson/meson/test cases/frameworks/14 doxygen/doc/meson.build
raw| 1 | cdata.set('TOP_SRCDIR', meson.project_source_root()) |
| 2 | cdata.set('TOP_BUILDDIR', meson.project_build_root()) |
| 3 | |
| 4 | doxyfile = configure_file(input: 'Doxyfile.in', |
| 5 | output: 'Doxyfile', |
| 6 | configuration: cdata, |
| 7 | install: false) |
| 8 | |
| 9 | datadir = join_paths(get_option('datadir'), 'doc', 'spede') |
| 10 | |
| 11 | html_target = custom_target('spede-docs', |
| 12 | input: doxyfile, |
| 13 | output: 'html', |
| 14 | command: [doxygen, doxyfile], |
| 15 | install: true, |
| 16 | install_dir: datadir) |