aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-26 19:08:23 +0200
committerGöktürk Yüksek <gokturk@gentoo.org>2017-08-28 16:00:20 -0400
commitdd8078107236415fd8c5ea461f0119dd1e285a4c (patch)
tree090f9842efe265a580d17509f7b8f22eaba8a49e /function-reference
parentebuild-writing/functions/src_test: s/provide/provides/, s/which/that/ (diff)
downloaddevmanual-dd8078107236415fd8c5ea461f0119dd1e285a4c.tar.gz
devmanual-dd8078107236415fd8c5ea461f0119dd1e285a4c.tar.bz2
devmanual-dd8078107236415fd8c5ea461f0119dd1e285a4c.zip
install-functions: Verbosely explain dosym target parameter
It is a common misconception that dosym takes two paths, both of them interpreted relatively to ${ED}. To avoid that, explicitly explain that the first parameter is interpreted as a verbatim symlink target.
Diffstat (limited to 'function-reference')
-rw-r--r--function-reference/install-functions/text.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/function-reference/install-functions/text.xml b/function-reference/install-functions/text.xml
index 6523521..c1392bf 100644
--- a/function-reference/install-functions/text.xml
+++ b/function-reference/install-functions/text.xml
@@ -257,7 +257,11 @@ the first is the source name, the second the name to use when installing.
<c>dosym</c>
</ti>
<ti>
- Create a symlink from the second parameter to the first parameter
+ Create a symlink to the target specified as the first parameter,
+ at the path specified by the second parameter. Note that
+ the target is interpreted <e>verbatim</e>; it needs to either
+ specify a relative path or an absolute path including
+ <c>${EPREFIX}</c>.
</ti>
</tr>
<tr>