summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-08-31 15:53:51 (GMT)
committerUlrich Müller <ulm@gentoo.org>2012-09-13 06:28:16 (GMT)
commite0bf16a23cde4c71eefb20e8b388d70aadc4269e (patch)
treeebdac46ce20b9014cb91d745223750eb970278fb
parentEAPI 5 supports --host-root option for *_version (diff)
downloadpms-e0bf16a23cde4c71eefb20e8b388d70aadc4269e.zip
pms-e0bf16a23cde4c71eefb20e8b388d70aadc4269e.tar.gz
pms-e0bf16a23cde4c71eefb20e8b388d70aadc4269e.tar.bz2
EAPI 5 has doheader.
See bug 21310.
-rw-r--r--eapi-differences.tex4
-rw-r--r--pkg-mgr-commands.tex25
2 files changed, 29 insertions, 0 deletions
diff --git a/eapi-differences.tex b/eapi-differences.tex
index aeafb49..8974b7e 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -160,6 +160,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
\t{dodoc -r} & \compactfeatureref{dodoc} &
No & No & No & No & Yes & Yes \\
+\t{doheader} & \compactfeatureref{doheader} &
+ No & No & No & No & No & Yes \\
+
\t{doins} handles symlinks & \compactfeatureref{doins} &
No & No & No & No & Yes & Yes \\
@@ -284,6 +287,7 @@ EAPI 5 is EAPI 4 with the following changes:
\item \t{best\_version} and \t{has\_version} support the \t{-{}-host-root} option,
\featureref{host-root-option}.
\item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}.
+\item \t{doheader} and \t{newheader} support, \featureref{doheader}.
\item \t{new*} can read from standard input, \featureref{newfoo-stdin}.
\end{compactitem}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index f99f30c..9e51119 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -290,6 +290,12 @@ function has returned.
listed in table~\ref{tab:banned-commands-table}, this command is banned as per
section~\ref{sec:banned-commands}.
+\item[doheader] \featurelabel{doheader} Installs the given header files into \t{/usr/include/},
+ by default with file mode \t{0644}. This can be overridden by setting \t{INSOPTIONS} with the
+ \t{insopts} function.
+ Only available in EAPIs listed in table~\ref{tab:doheader-table} as supporting \t{doheader}.
+ Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
+
\item[dohtml] Installs the given HTML files into a subdirectory under \t{/usr/share/doc/\$PF/}.
The subdirectory is \t{html} by default, but this can be overridden by setting the \t{DOCDESTTREE}
variable with the \t{docinto} function. Files to be installed automatically are determined by
@@ -406,6 +412,8 @@ that can be passed to \t{dohtml} are as follows:
\item[newexe] As above, for \t{doexe}.
+\item[newheader] As above, for \t{doheader}.
+
\item[newinitd] As above, for \t{doinitd}.
\item[newins] As above, for \t{doins}.
@@ -443,6 +451,23 @@ that can be passed to \t{dohtml} are as follows:
\end{centertable}
\ChangeWhenAddingAnEAPI{5}
+\begin{centertable}{EAPIs supporting \t{doheader} and \t{newheader}} \label{tab:doheader-table}
+ \begin{tabular}{ l l }
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{doheader} and \t{newheader}?}} \\
+ \midrule
+ \t{0} & No \\
+ \t{1} & No \\
+ \t{2} & No \\
+ \t{3} & No \\
+ \t{4} & No \\
+ \t{5} & Yes \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
+\ChangeWhenAddingAnEAPI{5}
\begin{centertable}{EAPIs supporting symlinks for \t{doins}} \label{tab:doins-table}
\begin{tabular}{ l l }
\toprule