summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-03-23 22:30:07 +0100
committerUlrich Müller <ulm@gentoo.org>2019-03-24 16:56:04 +0100
commit4761fe1f5f5b9ba75abcf7f974e2ebf3f8966cec (patch)
treecb897f6018bdef36314be45fb11d22ac50b1a738 /ebuild-vars.tex
parentPromote "Package Dependency Specifications" to section. (diff)
downloadpms-4761fe1f5f5b9ba75abcf7f974e2ebf3f8966cec.tar.gz
pms-4761fe1f5f5b9ba75abcf7f974e2ebf3f8966cec.tar.bz2
pms-4761fe1f5f5b9ba75abcf7f974e2ebf3f8966cec.zip
Refer to chapters as chapters.
Also rename label prefixes, "ch:" for chapters, "sec:" for sections, as suggested by Michael Orlitzky. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-vars.tex')
-rw-r--r--ebuild-vars.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index c1b8b73..2ca30f2 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -1,7 +1,7 @@
\chapter{Ebuild-defined Variables}
-\label{sec:ebuild-vars}
+\label{ch:ebuild-vars}
-\note{This section describes variables that may or must be defined by ebuilds. For variables that
+\note{This chapter describes variables that may or must be defined by ebuilds. For variables that
are passed from the package manager to the ebuild, see section~\ref{sec:ebuild-env-vars}.}
If any of these variables are set to invalid values, or if any of the mandatory variables are
@@ -41,6 +41,7 @@ All ebuilds must define at least the following variables:
\end{description}
\section{Optional Ebuild-defined Variables}
+\label{sec:optional-vars}
Ebuilds may define any of the following variables:
@@ -56,7 +57,6 @@ Ebuilds may define any of the following variables:
\item[LICENSE] The package's license. Each text token must be a valid license name, as per
section~\ref{sec:license-names}, and must correspond to a tree ``licenses/'' entry
(see section~\ref{sec:licenses-dir}). See section~\ref{sec:dependency-spec} for full syntax.
- \label{ebuild-var-LICENSE}
\item[KEYWORDS] A whitespace separated list of keywords for the ebuild. Each token must be a valid
keyword name, as per section~\ref{sec:keyword-names}. See section~\ref{sec:keywords} for full
syntax.
@@ -80,12 +80,12 @@ Ebuilds may define any of the following variables:
any way.
\item[RESTRICT] Zero or more behaviour restrictions for this package. See section~\ref{sec:restrict}
for value meanings and section~\ref{sec:dependency-spec} for full syntax.
-\item[DEPEND] See section~\ref{sec:dependencies}.
-\item[RDEPEND] See section~\ref{sec:dependencies}. For some EAPIs, \t{RDEPEND} has special behaviour
+\item[DEPEND] See chapter~\ref{ch:dependencies}.
+\item[RDEPEND] See chapter~\ref{ch:dependencies}. For some EAPIs, \t{RDEPEND} has special behaviour
for its value if unset and when used with an eclass. See section~\ref{sec:rdepend-depend} for
details.
-\item[PDEPEND] See section~\ref{sec:dependencies}.
-\item[BDEPEND] See section~\ref{sec:dependencies}.
+\item[PDEPEND] See chapter~\ref{ch:dependencies}.
+\item[BDEPEND] See chapter~\ref{ch:dependencies}.
\end{description}
\ChangeWhenAddingAnEAPI{7}