1 |
commit: fe5cf5e91299156dc74338c897d9a7bfb8883f5a |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 31 15:53:51 2012 +0000 |
4 |
Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 31 15:54:47 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=fe5cf5e9 |
7 |
|
8 |
EAPI 5 supports doheader. |
9 |
|
10 |
See bug 21310. |
11 |
|
12 |
--- |
13 |
eapi-differences.tex | 4 ++++ |
14 |
pkg-mgr-commands.tex | 25 +++++++++++++++++++++++++ |
15 |
2 files changed, 29 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
18 |
index 6eac052..c70231f 100644 |
19 |
--- a/eapi-differences.tex |
20 |
+++ b/eapi-differences.tex |
21 |
@@ -160,6 +160,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & |
22 |
\t{dodoc -r} & \compactfeatureref{dodoc} & |
23 |
No & No & No & No & Yes & Yes \\ |
24 |
|
25 |
+\t{doheader} & \compactfeatureref{doheader} & |
26 |
+ No & No & No & No & No & Yes \\ |
27 |
+ |
28 |
\t{doins} handles symlinks & \compactfeatureref{doins} & |
29 |
No & No & No & No & Yes & Yes \\ |
30 |
|
31 |
@@ -289,6 +292,7 @@ EAPI 5 is EAPI 4 with the following changes: |
32 |
\item \t{find} is guaranteed to be GNU, \featureref{gnu-find}. |
33 |
\item \t{best\_version} and \t{has\_version} support the \t{-{}-host-root} option, |
34 |
\featureref{host-root-option}. |
35 |
+\item \t{doheader} and \t{newheader} support, \featureref{doheader}. |
36 |
\item \t{new*} can read from standard input, \featureref{newfoo-stdin}. |
37 |
\end{compactitem} |
38 |
|
39 |
|
40 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
41 |
index e844379..0f003eb 100644 |
42 |
--- a/pkg-mgr-commands.tex |
43 |
+++ b/pkg-mgr-commands.tex |
44 |
@@ -288,6 +288,12 @@ function has returned. |
45 |
listed in table~\ref{tab:banned-commands-table}, this command is banned as per |
46 |
section~\ref{sec:banned-commands}. |
47 |
|
48 |
+\item[doheader] \featurelabel{doheader} Installs the given header files into \t{/usr/include/}, |
49 |
+ by default with file mode \t{0644}. This can be overridden by setting \t{INSOPTIONS} with the |
50 |
+ \t{insopts} function. |
51 |
+ Only available in EAPIs listed in table~\ref{tab:doheader-table} as supporting \t{doheader}. |
52 |
+ Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. |
53 |
+ |
54 |
\item[dohtml] Installs the given HTML files into a subdirectory under \t{/usr/share/doc/\$PF/}. |
55 |
The subdirectory is \t{html} by default, but this can be overridden by setting the \t{DOCDESTTREE} |
56 |
variable with the \t{docinto} function. Files to be installed automatically are determined by |
57 |
@@ -404,6 +410,8 @@ that can be passed to \t{dohtml} are as follows: |
58 |
|
59 |
\item[newexe] As above, for \t{doexe}. |
60 |
|
61 |
+\item[newheader] As above, for \t{doheader}. |
62 |
+ |
63 |
\item[newinitd] As above, for \t{doinitd}. |
64 |
|
65 |
\item[newins] As above, for \t{doins}. |
66 |
@@ -441,6 +449,23 @@ that can be passed to \t{dohtml} are as follows: |
67 |
\end{centertable} |
68 |
|
69 |
\ChangeWhenAddingAnEAPI{5} |
70 |
+\begin{centertable}{EAPIs supporting \t{doheader} and \t{newheader}} \label{tab:doheader-table} |
71 |
+ \begin{tabular}{ l l } |
72 |
+ \toprule |
73 |
+ \multicolumn{1}{c}{\textbf{EAPI}} & |
74 |
+ \multicolumn{1}{c}{\textbf{Supports \t{doheader} and \t{newheader}?}} \\ |
75 |
+ \midrule |
76 |
+ \t{0} & No \\ |
77 |
+ \t{1} & No \\ |
78 |
+ \t{2} & No \\ |
79 |
+ \t{3} & No \\ |
80 |
+ \t{4} & No \\ |
81 |
+ \t{5} & Yes \\ |
82 |
+ \bottomrule |
83 |
+ \end{tabular} |
84 |
+\end{centertable} |
85 |
+ |
86 |
+\ChangeWhenAddingAnEAPI{5} |
87 |
\begin{centertable}{EAPIs supporting symlinks for \t{doins}} \label{tab:doins-table} |
88 |
\begin{tabular}{ l l } |
89 |
\toprule |