1 |
commit: ac4641f77bcc8e7265771b765a7205796938394d |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 16 19:47:42 2015 +0000 |
4 |
Commit: git@oystercatcher mirror+tproxy <git <AT> oystercatcher <DOT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 19 08:17:29 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=ac4641f7 |
7 |
|
8 |
EAPI 6: econf adds --docdir and --htmldir. |
9 |
|
10 |
See bug 468202. |
11 |
|
12 |
--- |
13 |
eapi-differences.tex | 3 ++- |
14 |
pkg-mgr-commands.tex | 21 +++++++++++++++------ |
15 |
2 files changed, 17 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
18 |
index 7e4cd09..12c05b4 100644 |
19 |
--- a/eapi-differences.tex |
20 |
+++ b/eapi-differences.tex |
21 |
@@ -175,7 +175,7 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & |
22 |
\t{econf} arguments & \compactfeatureref{econf-options} & |
23 |
& & disable dependency tracking & |
24 |
disable dependency tracking, disable silent rules & |
25 |
- disable dependency tracking, disable silent rules \\ |
26 |
+ disable dependency tracking, disable silent rules, docdir, htmldir \\ |
27 |
|
28 |
\t{dodoc -r} & \compactfeatureref{dodoc} & |
29 |
No & No & Yes & Yes & Yes \\ |
30 |
@@ -324,6 +324,7 @@ EAPI 6 is EAPI 5 with the following changes: |
31 |
\item \t{failglob} is enabled in global scope, \featureref{failglob}. |
32 |
\item \t{einstall} banned, \featureref{banned-commands}. |
33 |
\item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}. |
34 |
+\item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}. |
35 |
\end{compactitem} |
36 |
|
37 |
\ChangeWhenAddingAnEAPI{6} |
38 |
|
39 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
40 |
index bf688f9..3ac8169 100644 |
41 |
--- a/pkg-mgr-commands.tex |
42 |
+++ b/pkg-mgr-commands.tex |
43 |
@@ -164,6 +164,12 @@ current phase function has returned. |
44 |
\item -{}-datadir must be \t{\$\{EPREFIX\}/usr/share} |
45 |
\item -{}-sysconfdir must be \t{\$\{EPREFIX\}/etc} |
46 |
\item -{}-localstatedir must be \t{\$\{EPREFIX\}/var/lib} |
47 |
+ \item -{}-docdir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}}, if the EAPI is listed in |
48 |
+ table \ref{tab:econf-options-table} as using it. This option will only be passed if the |
49 |
+ string \t{-{}-docdir} occurs in the output of \t{configure -{}-help}. |
50 |
+ \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed |
51 |
+ in table \ref{tab:econf-options-table} as using it. This option will only be passed if the |
52 |
+ string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
53 |
\item -{}-host must be the value of the \t{CHOST} environment variable. |
54 |
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}. |
55 |
\item -{}-disable-dependency-tracking, if the EAPI is listed in |
56 |
@@ -177,15 +183,18 @@ current phase function has returned. |
57 |
\ChangeWhenAddingAnEAPI{6} |
58 |
\begin{centertable}{Extra \t{econf} arguments for EAPIs} |
59 |
\label{tab:econf-options-table} |
60 |
- \begin{tabular}{ l l l } |
61 |
+ \begin{tabular}{ l l l l l } |
62 |
\toprule |
63 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
64 |
- \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking?}} & |
65 |
- \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules?}} \\ |
66 |
+ \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking}} & |
67 |
+ \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules}} & |
68 |
+ \multicolumn{1}{c}{\textbf{-{}-docdir}} & |
69 |
+ \multicolumn{1}{c}{\textbf{-{}-htmldir}} \\ |
70 |
\midrule |
71 |
- 0, 1, 2, 3 & No & No \\ |
72 |
- 4 & Yes & No \\ |
73 |
- 5, 6 & Yes & Yes \\ |
74 |
+ 0, 1, 2, 3 & No & No & No & No \\ |
75 |
+ 4 & Yes & No & No & No \\ |
76 |
+ 5 & Yes & Yes & No & No \\ |
77 |
+ 6 & Yes & Yes & Yes & Yes \\ |
78 |
\bottomrule |
79 |
\end{tabular} |
80 |
\end{centertable} |