Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-6 commit in: /
Date: Sun, 30 Aug 2015 19:03:56
Message-Id: 1440961053.e92aac1181b9217f5fad4adba82ac2f56b9c340e.ulm@gentoo
1 commit: e92aac1181b9217f5fad4adba82ac2f56b9c340e
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 16 19:47:42 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 18:57:33 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=e92aac11
7
8 EAPI 6: econf adds --docdir and --htmldir.
9
10 See bug 468202.
11
12 eapi-differences.tex | 3 ++-
13 pkg-mgr-commands.tex | 21 +++++++++++++++------
14 2 files changed, 17 insertions(+), 7 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 980cbd8..b3035e3 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -184,7 +184,7 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
21 \t{econf} arguments & \compactfeatureref{econf-options} &
22 & & disable dependency tracking &
23 disable dependency tracking, disable silent rules &
24 - disable dependency tracking, disable silent rules \\
25 + disable dependency tracking, disable silent rules, docdir, htmldir \\
26
27 \t{dodoc -r} & \compactfeatureref{dodoc} &
28 No & No & Yes & Yes & Yes \\
29 @@ -336,6 +336,7 @@ EAPI 6 is EAPI 5 with the following changes:
30 \item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}.
31 \item \t{eapply} support, \featureref{eapply}.
32 \item \t{eapply\_user} support, \featureref{eapply-user}.
33 +\item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}.
34 \end{compactitem}
35
36 \ChangeWhenAddingAnEAPI{6}
37
38 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
39 index 048be14..fd85070 100644
40 --- a/pkg-mgr-commands.tex
41 +++ b/pkg-mgr-commands.tex
42 @@ -201,6 +201,12 @@ current phase function has returned.
43 \item -{}-datadir must be \t{\$\{EPREFIX\}/usr/share}
44 \item -{}-sysconfdir must be \t{\$\{EPREFIX\}/etc}
45 \item -{}-localstatedir must be \t{\$\{EPREFIX\}/var/lib}
46 + \item -{}-docdir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}}, if the EAPI is listed in
47 + table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
48 + string \t{-{}-docdir} occurs in the output of \t{configure -{}-help}.
49 + \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed
50 + in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
51 + string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
52 \item -{}-host must be the value of the \t{CHOST} environment variable.
53 \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
54 \item -{}-disable-dependency-tracking, if the EAPI is listed in
55 @@ -214,15 +220,18 @@ current phase function has returned.
56 \ChangeWhenAddingAnEAPI{6}
57 \begin{centertable}{Extra \t{econf} arguments for EAPIs}
58 \label{tab:econf-options-table}
59 - \begin{tabular}{ l l l }
60 + \begin{tabular}{ l l l l l }
61 \toprule
62 \multicolumn{1}{c}{\textbf{EAPI}} &
63 - \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking?}} &
64 - \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules?}} \\
65 + \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking}} &
66 + \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules}} &
67 + \multicolumn{1}{c}{\textbf{-{}-docdir}} &
68 + \multicolumn{1}{c}{\textbf{-{}-htmldir}} \\
69 \midrule
70 - 0, 1, 2, 3 & No & No \\
71 - 4 & Yes & No \\
72 - 5, 6 & Yes & Yes \\
73 + 0, 1, 2, 3 & No & No & No & No \\
74 + 4 & Yes & No & No & No \\
75 + 5 & Yes & Yes & No & No \\
76 + 6 & Yes & Yes & Yes & Yes \\
77 \bottomrule
78 \end{tabular}
79 \end{centertable}