1 |
commit: dd8078107236415fd8c5ea461f0119dd1e285a4c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 26 17:08:23 2017 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 20:00:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=dd807810 |
7 |
|
8 |
install-functions: Verbosely explain dosym target parameter |
9 |
|
10 |
It is a common misconception that dosym takes two paths, both of them |
11 |
interpreted relatively to ${ED}. To avoid that, explicitly explain |
12 |
that the first parameter is interpreted as a verbatim symlink target. |
13 |
|
14 |
function-reference/install-functions/text.xml | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/function-reference/install-functions/text.xml b/function-reference/install-functions/text.xml |
18 |
index 6523521..c1392bf 100644 |
19 |
--- a/function-reference/install-functions/text.xml |
20 |
+++ b/function-reference/install-functions/text.xml |
21 |
@@ -257,7 +257,11 @@ the first is the source name, the second the name to use when installing. |
22 |
<c>dosym</c> |
23 |
</ti> |
24 |
<ti> |
25 |
- Create a symlink from the second parameter to the first parameter |
26 |
+ Create a symlink to the target specified as the first parameter, |
27 |
+ at the path specified by the second parameter. Note that |
28 |
+ the target is interpreted <e>verbatim</e>; it needs to either |
29 |
+ specify a relative path or an absolute path including |
30 |
+ <c>${EPREFIX}</c>. |
31 |
</ti> |
32 |
</tr> |
33 |
<tr> |