diff options
author | 2023-01-14 10:28:01 +0100 | |
---|---|---|
committer | 2023-01-18 22:12:28 +0100 | |
commit | 5e9afb6d818201028acbe922c6d86e9bf27dd860 (patch) | |
tree | e23127dd7f74dee3efae59b70b066afb4a746090 | |
parent | names.tex: Specify eclass names (diff) | |
download | pms-5e9afb6d818201028acbe922c6d86e9bf27dd860.tar.gz pms-5e9afb6d818201028acbe922c6d86e9bf27dd860.tar.bz2 pms-5e9afb6d818201028acbe922c6d86e9bf27dd860.zip |
Distinguish between "phase" and "phase function"
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ebuild-functions.tex | 6 | ||||
-rw-r--r-- | eclasses.tex | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ebuild-functions.tex b/ebuild-functions.tex index 7d372fa..25164d4 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -477,9 +477,9 @@ source files from their respective locations, with notes concerning licensing if \featurelabel{default-phase-funcs} In EAPIs listed in table~\ref{tab:default-phase-function-table} as supporting \t{default_} phase functions, a function -named \t{default_}(phase) that behaves as the default implementation for that EAPI shall be defined -when executing any ebuild phase listed in the table. Ebuilds must not call these functions except -when in the phase in question. +named \t{default_<phase-function>}) that behaves as the default implementation for that EAPI shall +be defined when executing any ebuild phase function listed in the table. Ebuilds must not call +these functions except when in the phase in question. \ChangeWhenAddingAnEAPI{8} \begin{centertable}{EAPIs supporting \t{default_} phase functions} diff --git a/eclasses.tex b/eclasses.tex index 0b9b5d4..a4400e1 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -87,7 +87,7 @@ should the author wish to override it he can access the function in \t{foo.eclas \t{foo_src_compile}. \t{EXPORT_FUNCTIONS} must only be used on ebuild phase functions. The function that is aliased -must be named \t{eclassname_phasefunctionname}, where \t{eclassname} is the name of the eclass. +must be named \t{<eclass>_<phase-function>}, where \t{<eclass>} is the name of the eclass. If \t{EXPORT_FUNCTIONS} is called multiple times for the same phase function, the last call takes precedence. Eclasses may not rely upon any particular behaviour if they inherit another eclass |