From a61ae8eca858f866636eb2721f42ca0fa7fd06f8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 22 Jan 2020 13:26:47 +0100 Subject: [PATCH] doc: Document libwayland-cursor with meson Signed-off-by: Emmanuel Gil Peyrot --- doc/doxygen/mainpage.dox | 1 + doc/doxygen/meson.build | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/doxygen/mainpage.dox b/doc/doxygen/mainpage.dox index ca1da53..352f69b 100644 --- a/doc/doxygen/mainpage.dox +++ b/doc/doxygen/mainpage.dox @@ -6,6 +6,7 @@ * * - Server-side API * - Client-side API + * - Cursor helper library API * * Further documentation about the architecture and principles of Wayland is * available in the diff --git a/doc/doxygen/meson.build b/doc/doxygen/meson.build index c39b282..f2bee14 100644 --- a/doc/doxygen/meson.build +++ b/doc/doxygen/meson.build @@ -38,6 +38,11 @@ server_files = files([ '../../src/wayland-shm.c', ]) +cursor_files = files([ + '../../cursor/wayland-cursor.c', + '../../cursor/wayland-cursor.h', +]) + extra_client_files = [ 'mainpage.dox', wayland_client_protocol_h, @@ -48,6 +53,10 @@ extra_server_files = [ wayland_server_protocol_h, ] +extra_cursor_files = [ + 'mainpage.dox', +] + gen_doxygen = find_program('gen-doxygen.py') subdir('xml') @@ -56,6 +65,7 @@ formats = { 'html': { 'Client': shared_files + client_files + extra_client_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 -man_files = shared_files + server_files + client_files +man_files = shared_files + server_files + client_files + cursor_files custom_target( 'man-pages-3', command: [ -- 2.7.4