1 |
Functions containing "hook" or "prep" in their name may not be used |
2 |
or relied upon by ebuilds. Therefore they should not be documented |
3 |
in ebuild(5) which describes the funtions available for ebuilds. |
4 |
|
5 |
PMS reference: https://projects.gentoo.org/pms/6/pms.html#x1-14700011.3.3.16 |
6 |
--- |
7 |
man/ebuild.5 | 76 +----------------------------------------------------------- |
8 |
1 file changed, 1 insertion(+), 75 deletions(-) |
9 |
|
10 |
diff --git a/man/ebuild.5 b/man/ebuild.5 |
11 |
index 43d12765d..42a0599fe 100644 |
12 |
--- a/man/ebuild.5 |
13 |
+++ b/man/ebuild.5 |
14 |
@@ -1,4 +1,4 @@ |
15 |
-.TH "EBUILD" "5" "Nov 2014" "Portage VERSION" "Portage" |
16 |
+.TH "EBUILD" "5" "Oct 2017" "Portage VERSION" "Portage" |
17 |
|
18 |
.SH "NAME" |
19 |
ebuild \- the internal format, variables, and functions in an ebuild script |
20 |
@@ -1104,16 +1104,6 @@ Example: |
21 |
installed) |
22 |
.fi |
23 |
|
24 |
-.SS "Hooks:" |
25 |
-.TP |
26 |
-.B register_die_hook\fR \fI[list of function names] |
27 |
-Register one or more functions to call when the ebuild fails for any reason, |
28 |
-including file collisions with other packages. |
29 |
-.TP |
30 |
-.B register_success_hook\fR \fI[list of function names] |
31 |
-Register one or more functions to call when the ebuild builds and/or installs |
32 |
-successfully. |
33 |
- |
34 |
.SS "Output:" |
35 |
.TP |
36 |
.B einfo\fR \fI"disposable message" |
37 |
@@ -1225,70 +1215,6 @@ Please do \fBnot\fR use this in place of 'emake install DESTDIR=${D}'. |
38 |
That is the preferred way of installing make\-based packages. Also, do |
39 |
not utilize the \fIEXTRA_EINSTALL\fR variable since it is for users. |
40 |
|
41 |
-.PD 0 |
42 |
-.TP |
43 |
-.B prepall |
44 |
-.TP |
45 |
-.B prepalldocs |
46 |
-.TP |
47 |
-.B prepallinfo |
48 |
-.TP |
49 |
-.B prepallman |
50 |
-.TP |
51 |
-.B prepallstrip |
52 |
-.PD 1 |
53 |
-Useful for when a package installs into \fB${D}\fR via scripts |
54 |
-(i.e. makefiles). If you want to be sure that libraries are executable, |
55 |
-aclocal files are installed into the right place, doc/info/man files are |
56 |
-all compressed, and that executables are all stripped of debugging symbols, |
57 |
-then use these suite of functions. |
58 |
-.RS |
59 |
-.PD 0 |
60 |
-.TP |
61 |
-.B prepall: |
62 |
-Runs \fBprepallman\fR, \fBprepallinfo\fR, \fBprepallstrip\fR, sets |
63 |
-libraries +x, and then checks aclocal directories. Please note this |
64 |
-does \fI*not*\fR run \fBprepalldocs\fR. |
65 |
-.TP |
66 |
-.B prepalldocs: |
67 |
-Compresses all doc files in ${ED}/usr/share/doc. |
68 |
-.TP |
69 |
-.B prepallinfo: |
70 |
-Compresses all info files in ${ED}/usr/share/info. |
71 |
-.TP |
72 |
-.B prepallman: |
73 |
-Compresses all man files in ${ED}/usr/share/man. |
74 |
-.TP |
75 |
-.B prepallstrip: |
76 |
-Strips all executable files of debugging symboles. This includes libraries. |
77 |
-.RE |
78 |
- |
79 |
-.TP |
80 |
-.B prepinfo\fR \fI[dir] |
81 |
-.TP |
82 |
-.B prepman\fR \fI[dir] |
83 |
-.TP |
84 |
-.B prepstrip\fR \fI[dir] |
85 |
-.PD 1 |
86 |
-Similar to the \fBprepall\fR functions, these are subtle in their differences. |
87 |
-.RS |
88 |
-.PD 0 |
89 |
-.TP |
90 |
-.B prepinfo: |
91 |
-If a \fIdir\fR is not specified, then \fBprepinfo\fR will assume the dir |
92 |
-\fIusr\fR. \fBprepinfo\fR will then compress all the files in |
93 |
-${ED}/\fIdir\fR/info. |
94 |
-.TP |
95 |
-.B prepman: |
96 |
-If a \fIdir\fR is not specified, then \fBprepman\fR will assume the dir |
97 |
-\fIusr\fR. \fBprepman\fR will then compress all the files in |
98 |
-${ED}/\fIdir\fR/man/*/. |
99 |
-.TP |
100 |
-.B prepstrip: |
101 |
-All the files found in ${ED}/\fIdir\fR will be stripped. You may specify |
102 |
-multiple directories. |
103 |
-.RE |
104 |
-.PD 1 |
105 |
.TP |
106 |
.B docompress\fR \fI[\-x] <path> [list of more paths] |
107 |
.RS |
108 |
-- |
109 |
2.14.2 |