summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-12-06 02:22:54 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-12-07 01:43:17 +0200
commit9ba0c3fef81dd952dcc3913f82a98b961a81d643 (patch)
treebab08c40e62cbae21810dfcb7bb901316f4caf1e /Documentation
parentb06ebdedba52a31e8ba21ae293dfb6476b6ca117 (diff)
meson: Tag all installed files
Meson uses tags to sort installed files in categories, and makes it possible to install a subset of the files using the '--tags' argument to 'meson install'. This is typically used by distributions to split the runtime, development and documentation files into separate packages. By default, meson tries to guess the correct tag for installed files, but can't always do so properly. Mark the install targets that meson can't guess with the correct install_tag. As the feature has been introduced in meson 0.60, bump the minimum meson version. The latest LTS release of all major distributions that libcamera currently targets ship a recent enough meson version. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/meson.build b/Documentation/meson.build
index 3eb2897e..7a58fec8 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -49,7 +49,8 @@ if doxygen.found() and dot.found()
output : 'api-html',
command : [doxygen, doxyfile],
install : true,
- install_dir : doc_install_dir)
+ install_dir : doc_install_dir,
+ install_tag : 'doc')
endif
#
@@ -91,7 +92,8 @@ if sphinx.found()
output : 'html',
build_by_default : true,
install : true,
- install_dir : doc_install_dir)
+ install_dir : doc_install_dir,
+ install_tag : 'doc')
custom_target('documentation-linkcheck',
command : [sphinx, '-W', '-b', 'linkcheck', meson.current_source_dir(), '@OUTPUT@'],