diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-07-04 12:39:24 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-07-05 18:02:20 +0300 |
commit | 1993fb602e447f8b6123f6dad3e0e9ca34bf6970 (patch) | |
tree | 1d2061830a52788fc5cd8434f54bf7a82e093a65 /docs/markdown/snippets | |
parent | 40319c963447f7632753e694f606dc6d41a9f168 (diff) | |
download | meson-1993fb602e447f8b6123f6dad3e0e9ca34bf6970.zip meson-1993fb602e447f8b6123f6dad3e0e9ca34bf6970.tar.gz meson-1993fb602e447f8b6123f6dad3e0e9ca34bf6970.tar.bz2 |
doc: Improve documentation of [provide] section in wrap files
Explicitly document the behaviour of dependency('foo-1.0', required:
false).
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/implicit_fallback.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/snippets/implicit_fallback.md b/docs/markdown/snippets/implicit_fallback.md index 3d5a833..a6cbaf0 100644 --- a/docs/markdown/snippets/implicit_fallback.md +++ b/docs/markdown/snippets/implicit_fallback.md @@ -11,7 +11,7 @@ should be used for `foo`. ## Wrap file `provide` section Wrap files can define the dependencies it provides in the `[provide]` section. -When a wrap file provides the dependency `foo` any call do `dependency('foo')` +When `foo.wrap` provides the dependency `foo-1.0` any call do `dependency('foo-1.0')` will automatically fallback to that subproject even if no `fallback` keyword argument is given. See [Wrap documentation](Wrap-dependency-system-manual.md#provide_section). |