aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-11-05 20:28:12 +0100
committerGitHub <noreply@github.com>2020-11-05 21:28:12 +0200
commitcc033e5476b40a97662f15af1736262371738e50 (patch)
treeccf2a7bf6c582ca67b813e7c98df5d38135329d1 /docs/markdown/Reference-manual.md
parent7860a6aeab9514391f02923a7f6357f094c8af68 (diff)
downloadmeson-cc033e5476b40a97662f15af1736262371738e50.zip
meson-cc033e5476b40a97662f15af1736262371738e50.tar.gz
meson-cc033e5476b40a97662f15af1736262371738e50.tar.bz2
docs: Recommend to use SPDX license identifiers [skip ci]
Some license identifiers are ambiguous (e.g. "GPL3"). The SPDX license identifiers avoid this by providing standardized and unique identifiers (e.g. "GPL-3.0-only" or "GPL-3.0-or-later" for the previous example). Because SPDX short-form identifiers are also both human- and machine-readable we should recommend them in the documentation. More information (advantages, details, etc.) can be found here: - https://spdx.dev/resources/use/#identifiers - https://spdx.dev/ids/ Fix #7905.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index ae0b9c9..3af78ef 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1398,13 +1398,14 @@ Project supports the following keyword arguments.
specific options are used normally even in subprojects.
-- `license`: takes a string or array of strings describing the
- license(s) the code is under. Usually this would be something like
- `license : 'GPL2+'`, but if the code has multiple licenses you can
- specify them as an array like this: `license : ['proprietary',
- 'GPL3']`. Note that the text is informal and is only written to
- the dependency manifest. Meson does not do any license validation,
- you are responsible for verifying that you abide by all licensing
+- `license`: takes a string or array of strings describing the license(s) the
+ code is under. To avoid ambiguity it is recommended to use a standardized
+ license identifier from the [SPDX license list](https://spdx.org/licenses/).
+ Usually this would be something like `license : 'GPL-2.0-or-later'`, but if
+ the code has multiple licenses you can specify them as an array like this:
+ `license : ['proprietary', 'GPL-3.0-only']`. Note that the text is informal
+ and is only written to the dependency manifest. Meson does not do any license
+ validation, you are responsible for verifying that you abide by all licensing
terms. You can access the value in your Meson build files with
`meson.project_license()`.