commit: 65d38361a953c0b6da4cc192d8727b0d6f1c64cc
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: Sat Mar 18 15:05:59 2017 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=65d38361
WORKDIR and S have the same scope as FILESDIR and DISTDIR.
Both WORKDIR and S are defined in global scope, but ebuilds must not
access the actual directories. So the FILESDIR footnote applies to
them, 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 262bcf9..a3766a2 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} &
+ Ditto &
+ 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 &