Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:master commit in: /
Date: Tue, 11 Apr 2017 17:25:55
Message-Id: 1491929725.f2ac6d06fae4923d0c913f9aa84452920e06ddb9.ulm@gentoo
1 commit: f2ac6d06fae4923d0c913f9aa84452920e06ddb9
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 14:18:25 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 11 16:55:25 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f2ac6d06
7
8 WORKDIR has the same scope as FILESDIR and DISTDIR.
9
10 Ebuilds must not access the WORKDIR directory in global scope, so the
11 FILESDIR footnote applies to it, too. Rearrange the table accordingly.
12
13 Also small change of wording ("in which" -> "where") to prevent an
14 awkward page break.
15
16 ebuild-env-vars.tex | 24 ++++++++++++------------
17 1 file changed, 12 insertions(+), 12 deletions(-)
18
19 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
20 index 1e155f5..019ce3f 100644
21 --- a/ebuild-env-vars.tex
22 +++ b/ebuild-env-vars.tex
23 @@ -95,6 +95,18 @@ variable.
24 Ditto &
25 Yes &
26 The full path to the directory in which the files in the \t{A} variable are stored. \\
27 +\t{WORKDIR} &
28 + Ditto &
29 + Yes &
30 + The full path to the ebuild's working directory, where all build data should be contained.%
31 + \label{env-var-WORKDIR} \\
32 +\t{S} &
33 + \t{src\_*} &
34 + Yes &
35 + The full path to the temporary build directory, used by \t{src\_compile}, \t{src\_install} etc.
36 + Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If \t{S} is assigned in the
37 + global scope of an ebuild, then the restrictions of section~\ref{sec:ebuild-env-state} for
38 + global variables apply. \\
39 \t{PORTDIR} &
40 \t{src\_*} &
41 No &
42 @@ -190,18 +202,6 @@ variable.
43 was executed by the package manager. May be unset or any single word that is not any of the
44 above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. Only for
45 EAPIs listed in table~\ref{tab:added-env-vars-table} as supporting \t{EBUILD\_PHASE\_FUNC}. \\
46 -\t{WORKDIR} &
47 - \t{src\_*}, global~scope &
48 - Yes &
49 - The full path to the ebuild's working directory, in which all build data should be
50 - contained. \label{env-var-WORKDIR} \\
51 -\t{S} &
52 - \t{src\_*} &
53 - Yes &
54 - The full path to the temporary build directory, used by \t{src\_compile}, \t{src\_install} etc.
55 - Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If \t{S} is assigned in the
56 - global scope of an ebuild, then the restrictions of section~\ref{sec:ebuild-env-state} for
57 - global variables apply. \\
58 \t{KV} &
59 All &
60 Yes &