build with Meson instead of autotools
[ncmpc-debian.git] / doc / meson.build
1 dconf = configuration_data()
2 dconf.set('VERSION', meson.project_version())
3 dconf.set('abs_top_srcdir', meson.source_root())
4
5 doxyfile = configure_file(input: 'doxygen.conf.in',
6                           output: 'doxygen.conf',
7                           configuration: dconf)
8
9 datadir = join_paths(get_option('datadir'), 'doc', 'spede')
10
11 html_target = custom_target('apidocs',
12                             input: doxyfile,
13                             output: 'html',
14                             command: [doxygen, doxyfile],
15                             install: true,
16                             install_dir: docdir)