1f71742dfSmrgdoxyfile_conf = configuration_data() 2f71742dfSmrgdoxyfile_conf.set('PACKAGE_NAME', meson.project_name()) 3f71742dfSmrgdoxyfile_conf.set('PACKAGE_VERSION', meson.project_version()) 4f71742dfSmrgdoxyfile_conf.set('top_srcdir', meson.source_root()) 5f71742dfSmrgdoxyfile_conf.set('top_builddir', meson.build_root()) 6f71742dfSmrg 7f71742dfSmrgif find_program('dot', required: false).found() 8f71742dfSmrg doxyfile_conf.set('HAVE_DOT', 'YES') 9f71742dfSmrgelse 10f71742dfSmrg doxyfile_conf.set('HAVE_DOT', 'NO') 11f71742dfSmrgendif 12f71742dfSmrg 13f71742dfSmrgdoxyfile = configure_file(input: 'Doxyfile.in', 14f71742dfSmrg output: 'Doxyfile', 15f71742dfSmrg configuration: doxyfile_conf, 16f71742dfSmrg install: false) 17f71742dfSmrg 18f71742dfSmrgdocdir = join_paths(epoxy_datadir, 'doc') 19f71742dfSmrg 20f71742dfSmrghtml_target = custom_target('epoxy-docs', 21f71742dfSmrg input: [ doxyfile ], 22f71742dfSmrg output: [ 'html' ], 23f71742dfSmrg command: [ doxygen, doxyfile ], 24f71742dfSmrg install: true, 25f71742dfSmrg install_dir: join_paths(docdir, 'epoxy')) 26