summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-31 21:26:39 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-07 15:56:46 +0100
commit98938d6b6d1391b362fa4468e9632740a27c9fd9 (patch)
tree253abaf7a18595bbd44572f8e53bfd0bfcc794d8 /eclass/out-of-source.eclass
parentpython-r1.eclass: Stop providing multibuild.eclass (diff)
downloadgentoo-98938d6b6d1391b362fa4468e9632740a27c9fd9.tar.gz
gentoo-98938d6b6d1391b362fa4468e9632740a27c9fd9.tar.bz2
gentoo-98938d6b6d1391b362fa4468e9632740a27c9fd9.zip
out-of-source.eclass: Document BUILD_DIR
Closes: https://github.com/gentoo/gentoo/pull/28907 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/out-of-source.eclass')
-rw-r--r--eclass/out-of-source.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass
index 81e03f3894db..06de39e6fc60 100644
--- a/eclass/out-of-source.eclass
+++ b/eclass/out-of-source.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: out-of-source.eclass
@@ -40,6 +40,13 @@ esac
if [[ ! ${_OUT_OF_SOURCE_ECLASS} ]]; then
_OUT_OF_SOURCE_ECLASS=1
+# @ECLASS_VARIABLE: BUILD_DIR
+# @OUTPUT_VARIABLE
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# The current build directory. Defaults to ${WORKDIR}/${P}_build
+# if unset.
+
# @FUNCTION: out-of-source_src_configure
# @DESCRIPTION:
# The default src_configure() implementation establishes a BUILD_DIR,