1 |
commit: 43d5710a02d0aed0e4e6e29aa7cfa75809fb822b |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 13:48:46 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 13:48:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=43d5710a |
7 |
|
8 |
pkg-mgr-commands.tex: Typeset list of commands consistently. |
9 |
|
10 |
Use teletype font for options, and fix indentation. |
11 |
No changes of wording. |
12 |
|
13 |
pkg-mgr-commands.tex | 71 +++++++++++++++++++++++++++------------------------- |
14 |
1 file changed, 37 insertions(+), 34 deletions(-) |
15 |
|
16 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
17 |
index 07abfbb..b6d15c6 100644 |
18 |
--- a/pkg-mgr-commands.tex |
19 |
+++ b/pkg-mgr-commands.tex |
20 |
@@ -246,30 +246,31 @@ current phase function has returned. |
21 |
|
22 |
\featurelabel{econf-options} \t{econf} must pass the following options to the configure script: |
23 |
\begin{itemize} |
24 |
- \item -{}-prefix must default to \t{\$\{EPREFIX\}/usr} unless overridden by \t{econf}'s caller. |
25 |
- \item -{}-mandir must be \t{\$\{EPREFIX\}/usr/share/man} |
26 |
- \item -{}-infodir must be \t{\$\{EPREFIX\}/usr/share/info} |
27 |
- \item -{}-datadir must be \t{\$\{EPREFIX\}/usr/share} |
28 |
- \item -{}-sysconfdir must be \t{\$\{EPREFIX\}/etc} |
29 |
- \item -{}-localstatedir must be \t{\$\{EPREFIX\}/var/lib} |
30 |
- \item -{}-docdir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}}, if the EAPI is listed in |
31 |
+ \item \t{-{}-prefix} must default to \t{\$\{EPREFIX\}/usr} unless overridden by \t{econf}'s |
32 |
+ caller. |
33 |
+ \item \t{-{}-mandir} must be \t{\$\{EPREFIX\}/usr/share/man} |
34 |
+ \item \t{-{}-infodir} must be \t{\$\{EPREFIX\}/usr/share/info} |
35 |
+ \item \t{-{}-datadir} must be \t{\$\{EPREFIX\}/usr/share} |
36 |
+ \item \t{-{}-sysconfdir} must be \t{\$\{EPREFIX\}/etc} |
37 |
+ \item \t{-{}-localstatedir} must be \t{\$\{EPREFIX\}/var/lib} |
38 |
+ \item \t{-{}-docdir} must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}}, if the EAPI is listed in |
39 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
40 |
string \t{-{}-docdir} occurs in the output of \t{configure -{}-help}. |
41 |
- \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed |
42 |
- in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
43 |
- string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
44 |
- \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only |
45 |
- be passed if \t{CBUILD} is non-empty. |
46 |
- \item -{}-host must be the value of the \t{CHOST} environment variable. |
47 |
- \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will |
48 |
+ \item \t{-{}-htmldir} must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is |
49 |
+ listed in table~\ref{tab:econf-options-table} as using it. This option will only be passed |
50 |
+ if the string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
51 |
+ \item \t{-{}-build} must be the value of the \t{CBUILD} environment variable. This option will |
52 |
+ only be passed if \t{CBUILD} is non-empty. |
53 |
+ \item \t{-{}-host} must be the value of the \t{CHOST} environment variable. |
54 |
+ \item \t{-{}-target} must be the value of the \t{CTARGET} environment variable. This option will |
55 |
only be passed if \t{CTARGET} is non-empty. |
56 |
- \item -{}-libdir must be set according to algorithm~\ref{alg:econf-libdir}. |
57 |
- \item -{}-disable-dependency-tracking, if the EAPI is listed in |
58 |
+ \item \t{-{}-libdir} must be set according to algorithm~\ref{alg:econf-libdir}. |
59 |
+ \item \t{-{}-disable-dependency-tracking}, if the EAPI is listed in |
60 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
61 |
string \t{-{}-disable-dependency-tracking} occurs in the output of \t{configure -{}-help}. |
62 |
- \item -{}-disable-silent-rules, if the EAPI is listed in table~\ref{tab:econf-options-table} as |
63 |
- using it. This option will only be passed if the string \t{-{}-disable-silent-rules} occurs |
64 |
- in the output of \t{configure -{}-help}. |
65 |
+ \item \t{-{}-disable-silent-rules}, if the EAPI is listed in table~\ref{tab:econf-options-table} |
66 |
+ as using it. This option will only be passed if the string \t{-{}-disable-silent-rules} |
67 |
+ occurs in the output of \t{configure -{}-help}. |
68 |
\end{itemize} |
69 |
|
70 |
\ChangeWhenAddingAnEAPI{6} |
71 |
@@ -327,6 +328,7 @@ current phase function has returned. |
72 |
section~\ref{sec:guaranteed-system-commands}. \t{emake} must be an external program and cannot |
73 |
be a function or alias---it must be callable from e.\,g.\ \t{xargs}. Failure behaviour is EAPI |
74 |
dependent as per section~\ref{sec:failure-behaviour}. |
75 |
+ |
76 |
\item[einstall] A shortcut for the command given in listing~\ref{lst:einstall}. Any arguments given |
77 |
to \t{einstall} are passed verbatim to \t{emake}, as shown. Failure behaviour is EAPI dependent |
78 |
as per section~\ref{sec:failure-behaviour}. |
79 |
@@ -420,21 +422,22 @@ the current phase function has returned. |
80 |
Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. |
81 |
|
82 |
\item[dohtml] Installs the given HTML files into a subdirectory under \t{/usr/share/doc/\$PF/}. |
83 |
-The subdirectory is \t{html} by default, but this can be overridden with the \t{docinto} function. |
84 |
-Files to be installed automatically are determined by extension and the default extensions are |
85 |
-\t{css}, \t{gif}, \t{htm}, \t{html}, \t{jpeg}, \t{jpg}, \t{js} and \t{png}. These default extensions |
86 |
-can be extended or reduced (see below). The options that can be passed to \t{dohtml} are as follows: |
87 |
-\begin{description} |
88 |
- \item{\t{-r}} --- enables recursion into directories. |
89 |
- \item{\t{-V}} --- enables verbosity. |
90 |
- \item{\t{-A}} --- adds file type extensions to the default list. |
91 |
- \item{\t{-a}} --- sets file type extensions to only those specified. |
92 |
- \item{\t{-f}} --- list of files that are able to be installed. |
93 |
- \item{\t{-x}} --- list of directories that files will not be installed from (only used in |
94 |
- conjunction with \t{-r}). |
95 |
- \item{\t{-p}} --- sets a document prefix for installed files, not to be confused with the global |
96 |
- offset-prefix. |
97 |
-\end{description} |
98 |
+ The subdirectory is \t{html} by default, but this can be overridden with the \t{docinto} |
99 |
+ function. Files to be installed automatically are determined by extension and the default |
100 |
+ extensions are \t{css}, \t{gif}, \t{htm}, \t{html}, \t{jpeg}, \t{jpg}, \t{js} and \t{png}. |
101 |
+ These default extensions can be extended or reduced (see below). The options that can be passed |
102 |
+ to \t{dohtml} are as follows: |
103 |
+ \begin{description} |
104 |
+ \item[\t{-r}] enables recursion into directories. |
105 |
+ \item[\t{-V}] enables verbosity. |
106 |
+ \item[\t{-A}] adds file type extensions to the default list. |
107 |
+ \item[\t{-a}] sets file type extensions to only those specified. |
108 |
+ \item[\t{-f}] list of files that are able to be installed. |
109 |
+ \item[\t{-x}] list of directories that files will not be installed from (only used in |
110 |
+ conjunction with \t{-r}). |
111 |
+ \item[\t{-p}] sets a document prefix for installed files, not to be confused with the global |
112 |
+ offset-prefix. |
113 |
+ \end{description} |
114 |
|
115 |
Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. |