1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/scripts/meson.build
Peter Krempa 8452124669 docs: Add HTML reference checker
In many cases we move around or rename internal anchors which may break
links leading to the content.

docutils handle the case of links inside a document, but we are lacking
the same form of checking between documents.

Introduce a script which cross-checks all the anchors and links in HTML
output files and prints problems and use it as a test case for the
'docs' directory.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-06-01 12:27:10 +02:00

39 lines
898 B
Meson

scripts = [
'apibuild.py',
'augeas-gentest.py',
'check-aclperms.py',
'check-aclrules.py',
'check-driverimpls.py',
'check-drivername.py',
'check-file-access.py',
'check-html-references.py',
'check-remote-protocol.py',
'check-symfile.py',
'check-symsorting.py',
'dtrace2systemtap.py',
'esx_vi_generator.py',
'genaclperms.py',
'genpolkit.py',
'gensystemtap.py',
'group-qemu-caps.py',
'header-ifdef.py',
'hvsupport.py',
'hyperv_wmi_generator.py',
'meson-dist.py',
'meson-gen-authors.py',
'meson-gen-def.py',
'meson-gen-sym.py',
'meson-install-dirs.py',
'meson-install-symlink.py',
'meson-install-web.py',
'meson-python.sh',
'meson-timestamp.py',
'mock-noinline.py',
'prohibit-duplicate-header.py',
]
foreach name : scripts
sname = name.split('.')[0].underscorify()
set_variable('@0@_prog'.format(sname), find_program(name))
endforeach