diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-12-06 16:14:22 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-12-27 20:29:46 -0500 |
commit | 2fa074917597fea0cf3332c6620d3414034825e4 (patch) | |
tree | 787dc86c8affa560710340a76dcdbbbf7794ff86 /docs/yaml/builtins | |
parent | 26b83eee9427889b5b006079872aa288bc0ffaed (diff) | |
download | meson-2fa074917597fea0cf3332c6620d3414034825e4.zip meson-2fa074917597fea0cf3332c6620d3414034825e4.tar.gz meson-2fa074917597fea0cf3332c6620d3414034825e4.tar.bz2 |
add license_files kwarg to project
Hook this up to installed dependency manifests. This is often needed
above and beyond just an SPDX string -- e.g. many licenses have custom
copyright lines.
Diffstat (limited to 'docs/yaml/builtins')
-rw-r--r-- | docs/yaml/builtins/meson.yaml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/yaml/builtins/meson.yaml b/docs/yaml/builtins/meson.yaml index 8eb3aca..a457dbf 100644 --- a/docs/yaml/builtins/meson.yaml +++ b/docs/yaml/builtins/meson.yaml @@ -317,8 +317,11 @@ methods: returns: void description: | Installs a manifest file - containing a list of all subprojects, their versions and license - files to the file name given as the argument. + containing a list of all subprojects, their versions and license names + to the file name given as the argument. + + If license files are defined as well, they will be copied next to the + manifest and referenced in it. posargs: output_name: @@ -406,6 +409,11 @@ methods: since: 0.45.0 description: Returns the array of licenses specified in [[project]] function call. + - name: project_license_files + returns: list[file] + since: 1.1.0 + description: Returns the array of license files specified in the [[project]] function call. + - name: project_name returns: str description: Returns the project name specified in the [[project]] function call. |