X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Fmeson.build;fp=doc%2Fmeson.build;h=a65a8c216927779817cc67948a67902a2b432e01;hb=7bcbdaab4f17e0289758dddc268a21eb17c99369;hp=0000000000000000000000000000000000000000;hpb=473a0a3234f74d2f846bfd11ec4d5cde9765c4b0;p=ncmpc.git diff --git a/doc/meson.build b/doc/meson.build new file mode 100644 index 0000000..a65a8c2 --- /dev/null +++ b/doc/meson.build @@ -0,0 +1,16 @@ +dconf = configuration_data() +dconf.set('VERSION', meson.project_version()) +dconf.set('abs_top_srcdir', meson.source_root()) + +doxyfile = configure_file(input: 'doxygen.conf.in', + output: 'doxygen.conf', + configuration: dconf) + +datadir = join_paths(get_option('datadir'), 'doc', 'spede') + +html_target = custom_target('apidocs', + input: doxyfile, + output: 'html', + command: [doxygen, doxyfile], + install: true, + install_dir: docdir)