1 |
Merges the three tables for misc functions (default, einstalldocs, |
2 |
and get_libdir), as well as the two tables for usex and in_iuse. |
3 |
--- |
4 |
pkg-mgr-commands.tex | 80 +++++++++++++++------------------------------------- |
5 |
1 file changed, 22 insertions(+), 58 deletions(-) |
6 |
|
7 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
8 |
index c89c807..26bb4e4 100644 |
9 |
--- a/pkg-mgr-commands.tex |
10 |
+++ b/pkg-mgr-commands.tex |
11 |
@@ -742,10 +742,10 @@ table~\ref{tab:use-list-strictness}. |
12 |
respectively; \t{\$\{arg4\}} and \t{\$\{arg5\}} default to the empty string. If the USE flag is |
13 |
set, outputs \t{\$\{arg2\}\$\{arg4\}}. Otherwise, outputs \t{\$\{arg3\}\$\{arg5\}}. |
14 |
The condition is inverted if the flag name is prefixed with~\t{!}. |
15 |
- Only available in EAPIs listed in table~\ref{tab:usex-table} as supporting \t{usex}. |
16 |
+ Only available in EAPIs listed in table~\ref{tab:use-list-functions} as supporting \t{usex}. |
17 |
\item[in\_iuse] \featurelabel{in-iuse} Returns shell true (0) if the first argument (a \t{USE} flag |
18 |
name) is included in \t{IUSE\_EFFECTIVE}, false otherwise. Only available in EAPIs listed in |
19 |
- table~\ref{tab:in-iuse} as supporting \t{in\_iuse}. |
20 |
+ table~\ref{tab:use-list-functions} as supporting \t{in\_iuse}. |
21 |
\end{description} |
22 |
|
23 |
\ChangeWhenAddingAnEAPI{6} |
24 |
@@ -777,29 +777,17 @@ table~\ref{tab:use-list-strictness}. |
25 |
\end{centertable} |
26 |
|
27 |
\ChangeWhenAddingAnEAPI{6} |
28 |
-\begin{centertable}{EAPIs supporting \t{usex}} |
29 |
- \label{tab:usex-table} |
30 |
- \begin{tabular}{ l l } |
31 |
- \toprule |
32 |
- \multicolumn{1}{c}{\textbf{EAPI}} & |
33 |
- \multicolumn{1}{c}{\textbf{Supports \t{usex}?}} \\ |
34 |
- \midrule |
35 |
- 0, 1, 2, 3, 4 & No \\ |
36 |
- 5, 6 & Yes \\ |
37 |
- \bottomrule |
38 |
- \end{tabular} |
39 |
-\end{centertable} |
40 |
- |
41 |
-\ChangeWhenAddingAnEAPI{6} |
42 |
-\begin{centertable}{EAPIs supporting \t{in\_iuse}} |
43 |
- \label{tab:in-iuse} |
44 |
- \begin{tabular}{ l l } |
45 |
+\begin{centertable}{EAPIs supporting \t{usex} and \t{in\_iuse}} |
46 |
+ \label{tab:use-list-functions} |
47 |
+ \begin{tabular}{ l l l } |
48 |
\toprule |
49 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
50 |
- \multicolumn{1}{c}{\textbf{Supports \t{in\_iuse}?}} \\ |
51 |
+ \multicolumn{1}{c}{\textbf{\t{usex}?}} & |
52 |
+ \multicolumn{1}{c}{\textbf{\t{in\_iuse}?}} \\ |
53 |
\midrule |
54 |
- 0, 1, 2, 3, 4, 5 & No \\ |
55 |
- 6 & Yes \\ |
56 |
+ 0, 1, 2, 3, 4 & No & No \\ |
57 |
+ 5 & Yes & No \\ |
58 |
+ 6 & Yes & Yes \\ |
59 |
\bottomrule |
60 |
\end{tabular} |
61 |
\end{centertable} |
62 |
@@ -918,16 +906,16 @@ has returned. |
63 |
\featurelabel{default-func} Calls the \t{default\_} function for the current phase (see |
64 |
section~\ref{sec:default-phase-funcs}). Must not be called if the \t{default\_} function does |
65 |
not exist for the current phase in the current EAPI\@. Only available in EAPIs listed in |
66 |
- table~\ref{tab:default-function-table}. |
67 |
+ table~\ref{tab:misc-commands} as supporting \t{default}. |
68 |
|
69 |
\item[einstalldocs] \featurelabel{einstalldocs} Takes no arguments. Installs the files specified |
70 |
by the \t{DOCS} and \t{HTML\_DOCS} variables or a default set of files, according to |
71 |
Algorithm~\ref{alg:einstalldocs}. If called using \t{nonfatal} and any of the called commands |
72 |
returns a non-zero exit status, returns immediately with the same exit status. Only available |
73 |
- in EAPIs listed in table~\ref{tab:einstalldocs} as supporting \t{einstalldocs}. |
74 |
+ in EAPIs listed in table~\ref{tab:misc-commands} as supporting \t{einstalldocs}. |
75 |
|
76 |
\item[get\_libdir] \featurelabel{get-libdir} Prints the libdir name obtained according to |
77 |
- Algorithm~\ref{alg:get-libdir}. Only available in EAPIs listed in table~\ref{tab:get-libdir} |
78 |
+ Algorithm~\ref{alg:get-libdir}. Only available in EAPIs listed in table~\ref{tab:misc-commands} |
79 |
as supporting \t{get\_libdir}. |
80 |
\end{description} |
81 |
|
82 |
@@ -974,42 +962,18 @@ has returned. |
83 |
\end{algorithm} |
84 |
|
85 |
\ChangeWhenAddingAnEAPI{6} |
86 |
-\begin{centertable}{EAPIs supporting the \t{default} function} |
87 |
- \label{tab:default-function-table} |
88 |
- \begin{tabular}{ l l } |
89 |
- \toprule |
90 |
- \multicolumn{1}{c}{\textbf{EAPI}} & |
91 |
- \multicolumn{1}{c}{\textbf{Supports \t{default} function?}} \\ |
92 |
- \midrule |
93 |
- 0, 1 & No \\ |
94 |
- 2, 3, 4, 5, 6 & Yes \\ |
95 |
- \bottomrule |
96 |
- \end{tabular} |
97 |
-\end{centertable} |
98 |
- |
99 |
-\ChangeWhenAddingAnEAPI{6} |
100 |
-\begin{centertable}{EAPIs supporting \t{einstalldocs}} |
101 |
- \label{tab:einstalldocs} |
102 |
- \begin{tabular}{ l l } |
103 |
- \toprule |
104 |
- \multicolumn{1}{c}{\textbf{EAPI}} & |
105 |
- \multicolumn{1}{c}{\textbf{Supports \t{einstalldocs}?}} \\ |
106 |
- \midrule |
107 |
- 0, 1, 2, 3, 4, 5 & No \\ |
108 |
- 6 & Yes \\ |
109 |
- \bottomrule |
110 |
- \end{tabular} |
111 |
-\end{centertable} |
112 |
- |
113 |
-\begin{centertable}{EAPIs supporting \t{get\_libdir}} |
114 |
- \label{tab:get-libdir} |
115 |
- \begin{tabular}{ l l } |
116 |
+\begin{centertable}{Misc commands for EAPIs} |
117 |
+ \label{tab:misc-commands} |
118 |
+ \begin{tabular}{ l l l l } |
119 |
\toprule |
120 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
121 |
- \multicolumn{1}{c}{\textbf{Supports \t{get\_libdir}?}} \\ |
122 |
+ \multicolumn{1}{c}{\textbf{\t{default}?}} & |
123 |
+ \multicolumn{1}{c}{\textbf{\t{einstalldocs}?}} & |
124 |
+ \multicolumn{1}{c}{\textbf{\t{get\_libdir}?}} \\ |
125 |
\midrule |
126 |
- 0, 1, 2, 3, 4, 5 & No \\ |
127 |
- 6 & Yes \\ |
128 |
+ 0, 1 & No & No & No \\ |
129 |
+ 2, 3, 4, 5 & Yes & No & No \\ |
130 |
+ 6 & Yes & Yes & Yes \\ |
131 |
\bottomrule |
132 |
\end{tabular} |
133 |
\end{centertable} |
134 |
-- |
135 |
2.6.1 |