1 |
commit: ea28d69e556837f60d4962dd2c24b51aef97735d |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 16 16:39:25 2019 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 16 16:39:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea28d69e |
7 |
|
8 |
common-lisp-3.eclass: fix various @USAGE inconsistencies |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
eclass/common-lisp-3.eclass | 10 ++++++---- |
13 |
1 file changed, 6 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass |
16 |
index ae229491025..65ad5a58a34 100644 |
17 |
--- a/eclass/common-lisp-3.eclass |
18 |
+++ b/eclass/common-lisp-3.eclass |
19 |
@@ -75,6 +75,7 @@ common-lisp-install-one-source() { |
20 |
} |
21 |
|
22 |
# @FUNCTION: lisp-file-p |
23 |
+# @USAGE: <file> |
24 |
# @DESCRIPTION: |
25 |
# Returns true if ${1} is lisp source file. |
26 |
lisp-file-p() { |
27 |
@@ -84,6 +85,7 @@ lisp-file-p() { |
28 |
} |
29 |
|
30 |
# @FUNCTION: common-lisp-get-fpredicate |
31 |
+# @USAGE: <type> |
32 |
# @DESCRIPTION: |
33 |
# Outputs the corresponding predicate to check files of type ${1}. |
34 |
common-lisp-get-fpredicate() { |
35 |
@@ -98,7 +100,7 @@ common-lisp-get-fpredicate() { |
36 |
} |
37 |
|
38 |
# @FUNCTION: common-lisp-install-sources |
39 |
-# @USAGE: common-lisp-install-sources path [<other_paths>...] |
40 |
+# @USAGE: <path> [...] |
41 |
# @DESCRIPTION: |
42 |
# Recursively install lisp sources of type ${2} if ${1} is -t or |
43 |
# Lisp by default. When given a directory, it will be recursively |
44 |
@@ -126,6 +128,7 @@ common-lisp-install-sources() { |
45 |
} |
46 |
|
47 |
# @FUNCTION: common-lisp-install-one-asdf |
48 |
+# @USAGE: <file> |
49 |
# @DESCRIPTION: |
50 |
# Installs ${1} asdf file in CLSOURCEROOT/CLPACKAGE and symlinks it in |
51 |
# CLSYSTEMROOT. |
52 |
@@ -140,7 +143,7 @@ common-lisp-install-one-asdf() { |
53 |
} |
54 |
|
55 |
# @FUNCTION: common-lisp-install-asdf |
56 |
-# @USAGE: common-lisp-install-asdf path [<other_paths>...] |
57 |
+# @USAGE: <path> [...] |
58 |
# @DESCRIPTION: |
59 |
# Installs all ASDF files and creates symlinks in CLSYSTEMROOT. |
60 |
# When given a directory, it will be recursively scanned for ASDF |
61 |
@@ -167,7 +170,6 @@ common-lisp-3_src_install() { |
62 |
} |
63 |
|
64 |
# @FUNCTION: common-lisp-find-lisp-impl |
65 |
-# @USAGE: common-lisp-find-lisp-impl |
66 |
# @DESCRIPTION: |
67 |
# Outputs an installed Common Lisp implementation. Transverses |
68 |
# CLIMPLEMENTATIONS to find it. |
69 |
@@ -179,7 +181,7 @@ common-lisp-find-lisp-impl() { |
70 |
} |
71 |
|
72 |
# @FUNCTION: common-lisp-export-impl-args |
73 |
-# @USAGE: common-lisp-export-impl-args <lisp-implementation> |
74 |
+# @USAGE: <lisp-implementation> |
75 |
# @DESCRIPTION: |
76 |
# Export a few variables containing the switches necessary |
77 |
# to make the CL implementation perform basic functions: |