Commit b78e83f5 authored by Olivier Crête's avatar Olivier Crête 👻
Browse files

meson: Make gtkdoc-check work with older gtk-doc

Older gtkdoc versions expect to find a Makefile, so generate
a fake one with the information it wants.
parent 40654b1d
Pipeline #150400 passed with stages
in 5 minutes and 14 seconds
libnice 0.1.17 (2020-05-21)
Add API to retrieve the underlying BSD sockets
libnice 0.1.16 (2019-05-09)
Add API to make it easier to implement ICE trickle
......@@ -24,12 +24,25 @@ ignore_headers = [
if dependency('gtk-doc', version: '<1.30', required: false).found()
prog_python = import('python').find_installation('python3')
fake_makefile = custom_target ('libnice-docs-test-Makefile',
output: 'Makefile',
command: [
prog_python, '-c',
'with open("@OUTPUT@","w") as f: f.writelines(["""DOC_MODULE=libnice\nDOC_MAIN_SGML_FILE=libnice-docs.sgml\n"""])'
fake_makefile = []
content_files: [fake_makefile],
main_xml: 'libnice-docs.xml',
namespace: 'nice',
mode: 'none',
src_dir: [agent_include, stun_include],
dependencies: libnice_dep,
dependencies: [libnice_dep, fake_makefile],
scan_args: [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment