1 |
commit: 7ca2939ca7e8310b3223c93660ab99c779dcc583 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 6 17:08:03 2019 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 31 14:57:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca2939c |
7 |
|
8 |
texlive-common.eclass: fix several @USAGE problems |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
eclass/texlive-common.eclass | 14 +++++++------- |
13 |
1 file changed, 7 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass |
16 |
index 2618cba2e1a..2072d3ad160 100644 |
17 |
--- a/eclass/texlive-common.eclass |
18 |
+++ b/eclass/texlive-common.eclass |
19 |
@@ -67,7 +67,7 @@ texlive-common_is_file_present_in_texmf() { |
20 |
} |
21 |
|
22 |
# @FUNCTION: texlive-common_do_symlinks |
23 |
-# @USAGE: < src > < dest > |
24 |
+# @USAGE: <src> <dest> |
25 |
# @DESCRIPTION: |
26 |
# Mimic the install_link function of texlinks |
27 |
# |
28 |
@@ -103,7 +103,7 @@ texlive-common_do_symlinks() { |
29 |
} |
30 |
|
31 |
# @FUNCTION: etexlinks |
32 |
-# @USAGE: < file > |
33 |
+# @USAGE: <file> |
34 |
# @DESCRIPTION: |
35 |
# Mimic texlinks on a fmtutil format file |
36 |
# |
37 |
@@ -121,7 +121,7 @@ etexlinks() { |
38 |
} |
39 |
|
40 |
# @FUNCTION: dobin_texmf_scripts |
41 |
-# @USAGE: < file1 file2 ... > |
42 |
+# @USAGE: <file1> [file2] ... |
43 |
# @DESCRIPTION: |
44 |
# Symlinks a script from the texmf tree to /usr/bin. Requires permissions to be |
45 |
# correctly set for the file that it will point to. |
46 |
@@ -137,10 +137,10 @@ dobin_texmf_scripts() { |
47 |
} |
48 |
|
49 |
# @FUNCTION: etexmf-update |
50 |
-# @USAGE: In ebuilds' pkg_postinst and pkg_postrm phases |
51 |
# @DESCRIPTION: |
52 |
# Runs texmf-update if it is available and prints a warning otherwise. This |
53 |
-# function helps in factorizing some code. |
54 |
+# function helps in factorizing some code. Useful in ebuilds' pkg_postinst and |
55 |
+# pkg_postrm phases. |
56 |
|
57 |
etexmf-update() { |
58 |
if has_version 'app-text/texlive-core' ; then |
59 |
@@ -155,10 +155,10 @@ etexmf-update() { |
60 |
} |
61 |
|
62 |
# @FUNCTION: efmtutil-sys |
63 |
-# @USAGE: In ebuilds' pkg_postinst to force a rebuild of TeX formats. |
64 |
# @DESCRIPTION: |
65 |
# Runs fmtutil-sys if it is available and prints a warning otherwise. This |
66 |
-# function helps in factorizing some code. |
67 |
+# function helps in factorizing some code. Used in ebuilds' pkg_postinst to |
68 |
+# force a rebuild of TeX formats. |
69 |
|
70 |
efmtutil-sys() { |
71 |
if has_version 'app-text/texlive-core' ; then |