doc: Document libwayland-cursor with meson
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 22 Jan 2020 12:26:47 +0000 (13:26 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 5 Jun 2020 11:05:20 +0000 (11:05 +0000)
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
doc/doxygen/mainpage.dox
doc/doxygen/meson.build

index ca1da53..352f69b 100644 (file)
@@ -6,6 +6,7 @@
  *
  * - <a href="../Server/index.html">Server-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
  * available in the
index c39b282..f2bee14 100644 (file)
@@ -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: [