commit: f2ac6d06fae4923d0c913f9aa84452920e06ddb9
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 18 14:18:25 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 11 16:55:25 2017 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f2ac6d06
WORKDIR has the same scope as FILESDIR and DISTDIR.
Ebuilds must not access the WORKDIR directory in global scope, so the
FILESDIR footnote applies to it, too. Rearrange the table accordingly.
Also small change of wording ("in which" -> "where") to prevent an
awkward page break.
ebuild-env-vars.tex | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 1e155f5..019ce3f 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -95,6 +95,18 @@ variable.
Ditto &
Yes &
The full path to the directory in which the files in the \t{A} variable
are stored. \\
+\t{WORKDIR} &
+ Ditto &
+ Yes &
+ The full path to the ebuild's working directory, where all build data
should be contained.%
+ \label{env-var-WORKDIR} \\
+\t{S} &
+ \t{src\_*} &
+ Yes &
+ The full path to the temporary build directory, used by \t{src\_compile},
\t{src\_install} etc.
+ Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If
\t{S} is assigned in the
+ global scope of an ebuild, then the restrictions of
section~\ref{sec:ebuild-env-state} for
+ global variables apply. \\
\t{PORTDIR} &
\t{src\_*} &
No &
@@ -190,18 +202,6 @@ variable.
was executed by the package manager. May be unset or any single word that
is not any of the
above when the ebuild is being sourced for other (e.\,g.\ metadata or QA)
purposes. Only for
EAPIs listed in table~\ref{tab:added-env-vars-table} as supporting
\t{EBUILD\_PHASE\_FUNC}. \\
-\t{WORKDIR} &
- \t{src\_*}, global~scope &
- Yes &
- The full path to the ebuild's working directory, in which all build data
should be
- contained. \label{env-var-WORKDIR} \\
-\t{S} &
- \t{src\_*} &
- Yes &
- The full path to the temporary build directory, used by \t{src\_compile},
\t{src\_install} etc.
- Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If
\t{S} is assigned in the
- global scope of an ebuild, then the restrictions of
section~\ref{sec:ebuild-env-state} for
- global variables apply. \\
\t{KV} &
All &
Yes &