From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E48E139694 for ; Tue, 11 Apr 2017 17:25:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AE4BE0E1D; Tue, 11 Apr 2017 17:25:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C70BE0E1D for ; Tue, 11 Apr 2017 17:25:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 445E8341653 for ; Tue, 11 Apr 2017 17:25:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60B3873F3 for ; Tue, 11 Apr 2017 17:25:49 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1491929725.f2ac6d06fae4923d0c913f9aa84452920e06ddb9.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f2ac6d06fae4923d0c913f9aa84452920e06ddb9 X-VCS-Branch: master Date: Tue, 11 Apr 2017 17:25:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 32862ca3-fa72-4e27-a116-6a887e52664c X-Archives-Hash: b325f189c482fe545db60e36a9429c1d commit: f2ac6d06fae4923d0c913f9aa84452920e06ddb9 Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 18 14:18:25 2017 +0000 Commit: Ulrich Müller gentoo 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 &