public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT
@ 2016-05-08 17:42 Mike Gilbert
  2016-05-10 15:08 ` Michael Orlitzky
  2016-05-14 21:35 ` Göktürk Yüksek
  0 siblings, 2 replies; 15+ messages in thread
From: Mike Gilbert @ 2016-05-08 17:42 UTC (permalink / raw
  To: gentoo-dev

The current description of ROOT makes no sense and just confuses people.
The new description is paraphrased from PMS.
---
 ebuild-writing/variables/text.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml
index ef15347..6ba6379 100644
--- a/ebuild-writing/variables/text.xml
+++ b/ebuild-writing/variables/text.xml
@@ -100,8 +100,9 @@ them.
   <tr>
     <ti><c>ROOT</c></ti>
     <ti>
-      Path to the root directory. When not using <c>${D}</c>,
-      always prepend <c>${ROOT}</c> to the path.
+      The absolute path to the root directory into which the package is to be merged.
+      Use this when refering to installed files in <c>pkg_*</c> functions.
+      Never use this in <c>src_*</c> functions.
     </ti>
   </tr>
   <tr>
-- 
2.8.2



^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-05-16  3:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-08 17:42 [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT Mike Gilbert
2016-05-10 15:08 ` Michael Orlitzky
2016-05-10 15:22   ` M. J. Everitt
2016-05-10 18:28   ` Mike Gilbert
2016-05-10 19:57     ` James Le Cuirot
2016-05-10 21:25     ` Michael Orlitzky
2016-05-10 21:27       ` Ian Stakenvicius
2016-05-11  1:42       ` Mike Gilbert
2016-05-11  1:54         ` Brian Dolbec
2016-05-11  2:40           ` Mike Gilbert
2016-05-11  2:50             ` Brian Dolbec
2016-05-11  2:19         ` Mike Gilbert
2016-05-11  2:38           ` Mike Gilbert
2016-05-14 21:35 ` Göktürk Yüksek
2016-05-16  3:09   ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox