aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Filippov <alekseyf@google.com>2018-02-24 22:41:34 +0000
committerAleksey Filippov <alekseyf@google.com>2018-02-24 23:41:12 +0000
commit2377f22ea594ee10c98e90df438d437362cca5ea (patch)
treef2cd3f3485e4369e6342a1ae08b9b7500bfe8d35
parentd6b5d7fe9f5c4aa231d3640daf342406e5c7be15 (diff)
downloadmeson-2377f22ea594ee10c98e90df438d437362cca5ea.zip
meson-2377f22ea594ee10c98e90df438d437362cca5ea.tar.gz
meson-2377f22ea594ee10c98e90df438d437362cca5ea.tar.bz2
Document pkgconfig.generate() requires parameters
-rw-r--r--docs/markdown/Pkgconfig-module.md5
-rw-r--r--docs/markdown/snippets/pkgconfig-requires-non-string.md5
2 files changed, 8 insertions, 2 deletions
diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md
index cbe01b4..853cf50 100644
--- a/docs/markdown/Pkgconfig-module.md
+++ b/docs/markdown/Pkgconfig-module.md
@@ -38,8 +38,9 @@ keyword arguments.
search path, for example if you install headers into
`${PREFIX}/include/foobar-1`, the correct value for this argument
would be `foobar-1`
-- `requires` list of strings to put in the `Requires` field
-- `requires_private` list of strings to put in the `Requires.private`
+- `requires` list of strings, pkgconfig-dependencies or libraries that
+ `pkgconfig.generate()` was used on to put in the `Requires` field
+- `requires_private` same as `requires` but for `Requires.private` field
field
- `url` a string with a url for the library
- `variables` a list of strings with custom variables to add to the
diff --git a/docs/markdown/snippets/pkgconfig-requires-non-string.md b/docs/markdown/snippets/pkgconfig-requires-non-string.md
new file mode 100644
index 0000000..fc848a8
--- /dev/null
+++ b/docs/markdown/snippets/pkgconfig-requires-non-string.md
@@ -0,0 +1,5 @@
+# pkgconfig.generate() requires parameters non-string arguments
+
+`pkgconfig.generate()` `requires` and `requires_private` parameters
+accept pkgconfig-dependencies and libraries that pkgconfig-files were
+generated for.