summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg-mgr-commands.tex')
-rw-r--r--pkg-mgr-commands.tex69
1 files changed, 68 insertions, 1 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index ac6106c..875bddb 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -26,6 +26,7 @@ behaviour.
\t{0} & No & No & No \\
\t{1} & No & No & No \\
\t{kdebuild-1} & Yes & Yes & Yes \\
+ \t{2} & No & No & No \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -250,7 +251,11 @@ are as follows:
\end{algorithm}
\item[doman] Installs a man page into the appropriate subdirectory of \t{/usr/share/man} depending
- upon its apparent section suffix.
+ upon its apparent section suffix (e.g. \t{foo.1} goes to \t{/usr/share/man/man1/foo.1}.
+ In EAPIs listed in table~\ref{doman-table} as supporting language codes, a man page with
+ name of the form\t{foo.lang.1} shall go to \t{/usr/share/man/lang/man1/foo.1}, where \t{lang}
+ refers to a pair of lower-case ASCII letters optionally followed by an underscore and a pair
+ of upper-case ASCII letters.
\item[domo] Installs a \t{.mo} file into the appropriate subdirectory of \t{DESTTREE/share/locale},
generated by taking the basename of the file, removing the \t{.*} suffix, and appending
@@ -297,6 +302,34 @@ are as follows:
\end{description}
+\begin{centertable}{EAPIs supporting \t{doman} languages} \label{doman-table}
+\IFKDEBUILDELSE
+{
+ \begin{tabular}{ l l }
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} \\
+ \midrule
+ \t{0} & No \\
+ \t{1} & No \\
+ \t{kdebuild-1} & No \\
+ \t{2} & Yes \\
+ \bottomrule
+ \end{tabular}
+}{
+ \begin{tabular}{ l l }
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} \\
+ \midrule
+ \t{0} & No \\
+ \t{1} & No \\
+ \t{2} & Yes \\
+ \bottomrule
+ \end{tabular}
+}
+\end{centertable}
+
\IFKDEBUILDELSE
{
\begin{centertable}{EAPIs where \t{dosym} makes the directory} \label{dosym-table}
@@ -308,6 +341,7 @@ are as follows:
\t{0} & Yes \\
\t{1} & Yes \\
\t{kdebuild-1} & No \\
+ \t{2} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -423,8 +457,41 @@ has returned.
\end{itemize}
It is up to the ebuild to ensure that the relevant external utilities are available, whether by
being in the system set or via dependencies.
+
+\item[inherit] See section~\ref{inherit}.
+
+\item[default] Calls the \t{default\_\$\{EBUILD\_PHASE\}} function. Only available in EAPIs listed in
+ table~\ref{default-function-table}.
\end{description}
+\begin{centertable}{EAPIs supporting the \t{default} function} \label{default-function-table}
+\IFKDEBUILDELSE
+{
+ \begin{tabular}{ l l }
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{default} function?}} \\
+ \midrule
+ \t{0} & No \\
+ \t{1} & No \\
+ \t{kdebuild-1} & No \\
+ \t{2} & Yes \\
+ \bottomrule
+ \end{tabular}
+}{
+ \begin{tabular}{ l l }
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{default} function?}} \\
+ \midrule
+ \t{0} & No \\
+ \t{1} & No \\
+ \t{2} & Yes \\
+ \bottomrule
+ \end{tabular}
+}
+\end{centertable}
+
\subsubsection{Debug Commands}
The following commands are available for debugging. Normally all of these commands should be no ops;
a package manager may provide a special debug mode where these commands instead do something.