doc: Document libwayland-cursor with meson

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
This commit is contained in:
Emmanuel Gil Peyrot 2020-01-22 13:26:47 +01:00 committed by Daniel Stone
parent 3feed6e723
commit a61ae8eca8
2 changed files with 12 additions and 1 deletions

View file

@ -6,6 +6,7 @@
* *
* - <a href="../Server/index.html">Server-side API</a> * - <a href="../Server/index.html">Server-side API</a>
* - <a href="../Client/index.html">Client-side API</a> * - <a href="../Client/index.html">Client-side API</a>
* - <a href="../Cursor/index.html">Cursor helper library API</a>
* *
* Further documentation about the architecture and principles of Wayland is * Further documentation about the architecture and principles of Wayland is
* available in the * available in the

View file

@ -38,6 +38,11 @@ server_files = files([
'../../src/wayland-shm.c', '../../src/wayland-shm.c',
]) ])
cursor_files = files([
'../../cursor/wayland-cursor.c',
'../../cursor/wayland-cursor.h',
])
extra_client_files = [ extra_client_files = [
'mainpage.dox', 'mainpage.dox',
wayland_client_protocol_h, wayland_client_protocol_h,
@ -48,6 +53,10 @@ extra_server_files = [
wayland_server_protocol_h, wayland_server_protocol_h,
] ]
extra_cursor_files = [
'mainpage.dox',
]
gen_doxygen = find_program('gen-doxygen.py') gen_doxygen = find_program('gen-doxygen.py')
subdir('xml') subdir('xml')
@ -56,6 +65,7 @@ formats = {
'html': { 'html': {
'Client': shared_files + client_files + extra_client_files, 'Client': shared_files + client_files + extra_client_files,
'Server': shared_files + server_files + extra_server_files, 'Server': shared_files + server_files + extra_server_files,
'Cursor': shared_files + cursor_files + extra_cursor_files,
}, },
} }
@ -86,7 +96,7 @@ foreach f_name, sections: formats
endforeach endforeach
endforeach endforeach
man_files = shared_files + server_files + client_files man_files = shared_files + server_files + client_files + cursor_files
custom_target( custom_target(
'man-pages-3', 'man-pages-3',
command: [ command: [