diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-03-18 15:18:25 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-03-18 16:05:59 +0100 |
commit | 65d38361a953c0b6da4cc192d8727b0d6f1c64cc (patch) | |
tree | 88303d5cb4d1d025860e044a554ab15ae32af444 | |
parent | ebuild-env-vars: Require DISTDIR & FILESDIR to be consistent (diff) | |
download | pms-65d38361a953c0b6da4cc192d8727b0d6f1c64cc.tar.gz pms-65d38361a953c0b6da4cc192d8727b0d6f1c64cc.tar.bz2 pms-65d38361a953c0b6da4cc192d8727b0d6f1c64cc.zip |
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.
-rw-r--r-- | ebuild-env-vars.tex | 24 |
1 files 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 & |