output: add _get_plugin()
[libmpdclient.git] / doc / meson.build
blob1eff458d056203515fa9fdf83dcca3ed60d56c8e
1 dconf = configuration_data()
2 dconf.set('VERSION', meson.project_version())
3 dconf.set('abs_top_srcdir', meson.source_root())
5 if find_program('dot', required: false).found()
6   dconf.set('HAVE_DOT', 'YES')
7 else
8   dconf.set('HAVE_DOT', 'NO')
9 endif
11 doxyfile = configure_file(input: 'doxygen.conf.in',
12                           output: 'doxygen.conf',
13                           configuration: dconf)
15 datadir = join_paths(get_option('datadir'), 'doc', 'spede')
17 html_target = custom_target('apidocs',
18                             input: doxyfile,
19                             output: 'html',
20                             command: [doxygen, doxyfile],
21                             install: true,
22                             install_dir: docdir)