[v7,2/5] Documentation: Split doxygen_input in public and internal inputs
diff mbox series

Message ID 20240808140948.430419-3-dan.scally@ideasonboard.com
State Accepted
Headers show
Series
  • Split libcamera documentation in public and internal APIs
Related show

Commit Message

Dan Scally Aug. 8, 2024, 2:09 p.m. UTC
From: Laurent Pinchart <laurent.pinchart@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@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
Changes since v6:

	None

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

Patch
diff mbox series

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,