[PATCH v7 2/5] Documentation: Split doxygen_input in public and internal inputs

Daniel Scally dan.scally at ideasonboard.com
Thu Aug 8 16:09:45 CEST 2024


From: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

To prepare for splitting the API documentation in public and internal
documents, split the doxygen_input list in the public and internal
counterparts.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
Changes since v6:

	None

 Documentation/meson.build | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/Documentation/meson.build b/Documentation/meson.build
index 07042071..1d84ed81 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -28,27 +28,34 @@ if doxygen.found() and dot.found()
                               output : 'Doxyfile',
                               configuration : cdata)
 
-    doxygen_input = [
-        doxyfile,
-        libcamera_base_headers,
+    doxygen_public_input = [
+        libcamera_base_public_headers,
         libcamera_base_public_sources,
+        libcamera_public_headers,
+        libcamera_public_sources,
+    ]
+
+    doxygen_internal_input = [
+        libcamera_base_private_headers,
         libcamera_base_internal_sources,
         libcamera_internal_headers,
+        libcamera_internal_sources,
         libcamera_ipa_headers,
         libcamera_ipa_interfaces,
-        libcamera_public_headers,
-        libcamera_public_sources,
-        libcamera_internal_sources,
         libipa_headers,
         libipa_sources,
     ]
 
     if is_variable('ipu3_ipa_sources')
-        doxygen_input += [ipu3_ipa_sources]
+        doxygen_internal_input += [ipu3_ipa_sources]
     endif
 
     custom_target('doxygen',
-                  input : doxygen_input,
+                  input : [
+                      doxyfile,
+                      doxygen_public_input,
+                      doxygen_internal_input,
+                  ],
                   output : 'api-html',
                   command : [doxygen, doxyfile],
                   install : true,
-- 
2.34.1



More information about the libcamera-devel mailing list