Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT
Date: Sun, 08 May 2016 17:42:24
Message-Id: 1462729330-24788-1-git-send-email-floppym@gentoo.org
1 The current description of ROOT makes no sense and just confuses people.
2 The new description is paraphrased from PMS.
3 ---
4 ebuild-writing/variables/text.xml | 5 +++--
5 1 file changed, 3 insertions(+), 2 deletions(-)
6
7 diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml
8 index ef15347..6ba6379 100644
9 --- a/ebuild-writing/variables/text.xml
10 +++ b/ebuild-writing/variables/text.xml
11 @@ -100,8 +100,9 @@ them.
12 <tr>
13 <ti><c>ROOT</c></ti>
14 <ti>
15 - Path to the root directory. When not using <c>${D}</c>,
16 - always prepend <c>${ROOT}</c> to the path.
17 + The absolute path to the root directory into which the package is to be merged.
18 + Use this when refering to installed files in <c>pkg_*</c> functions.
19 + Never use this in <c>src_*</c> functions.
20 </ti>
21 </tr>
22 <tr>
23 --
24 2.8.2

Replies

Subject Author
Re: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT Michael Orlitzky <mjo@g.o>
Re: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT "Göktürk Yüksek" <gokturk@××××××××××.edu>