diff options
author | Ciaran McCreesh <ciaranm@ciaranm.org> | 2007-04-11 20:01:00 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@ciaranm.org> | 2007-04-11 20:01:00 +0000 |
commit | 2f60935e47b4b350894d834c067e011167467111 (patch) | |
tree | edb1ebd455997e629e110f61d26f6810a391b379 /eclasses.tex | |
parent | Explicitly disallow .1.2.3. as a version. Gentoo#172523 (diff) | |
download | pms-2f60935e47b4b350894d834c067e011167467111.tar.gz pms-2f60935e47b4b350894d834c067e011167467111.tar.bz2 pms-2f60935e47b4b350894d834c067e011167467111.zip |
Wording. Gentoo#172831
git-svn-id: http://svn.repogirl.net/pms/trunk@140 a05a4626-2124-0410-b604-e6c5abf33261
Diffstat (limited to 'eclasses.tex')
-rw-r--r-- | eclasses.tex | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclasses.tex b/eclasses.tex index 1e399f5..d02c131 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -18,12 +18,17 @@ This will cause the eclass to be sourced as part of the ebuild---any function or definitions in the eclass will appear as part of the ebuild, with exceptions for certain metadata variables, as described below. +The \t{inherit} command takes one or more parameters, which must be the names of eclasses (excluding +the \t{.eclass} suffix and the path). For each parameter, in order, the named eclass is sourced. + +Eclasses may end up being sourced multiple times. + The \t{inherit} command must also ensure that: \begin{bulletlist} \item The \t{ECLASS} variable is set to the name of the current eclass, when inside an eclass. -\item The \t{INHERITED} metadata variable contains the name of every eclass used, separated - by whitespace. +\item Once all inheriting has been done, the \t{INHERITED} metadata variable contains the name of + every eclass used, separated by whitespace. \end{bulletlist} \section{Eclass-defined Metadata Keys} |