1 docpath = join_paths(nice_datadir, 'gtk-doc', 'html')
23 'agent-signals-marshal.h',
27 if dependency('gtk-doc', version: '<1.30', required: false).found()
28 prog_python = import('python').find_installation('python3')
29 fake_makefile = custom_target ('libnice-docs-test-Makefile',
33 'with open("@OUTPUT@","w") as f: f.writelines(["""DOC_MODULE=libnice\nDOC_MAIN_SGML_FILE=libnice-docs.sgml\n"""])'
39 gnome.gtkdoc('libnice',
40 content_files: [fake_makefile],
41 main_xml: 'libnice-docs.xml',
44 src_dir: [agent_include, stun_include],
45 content_files: fake_makefile,
46 dependencies: libnice_dep,
49 #'--deprecated-guards=G_DISABLE_DEPRECATED',
50 #'--ignore-decorators=' + '|'.join(ignore_decorators),
51 '--ignore-headers=' + ' '.join(ignore_headers),
57 '--html-dir=' + docpath,
59 mkdb_args: [ # not sure if these need to be specified explicitly here
61 '--output-format=xml',
67 # If we ever need to regenerate this diagram.
68 # Since it’s not expected to change much, let’s not depend on GraphViz to
69 # build the docs (that's also why we don't use find_program('dot') here)
70 run_target('update-states.png',
73 '-o', join_paths(meson.current_source_dir(), 'states.png'),