[PATCH v5 15/18] Documentation: Split doxygen_input in public and internal inputs

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Aug 5 16:36:51 CEST 2024


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>
---
 Documentation/meson.build | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/Documentation/meson.build b/Documentation/meson.build
index 070420715bd1..1d84ed815b50 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_base_internal_sources,
-        libcamera_internal_headers,
-        libcamera_ipa_headers,
-        libcamera_ipa_interfaces,
         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,
         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,
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list