Gentoo Archives: gentoo-dev

From: Ben Kohler <bkohler@g.o>
To: gentoo-dev@l.g.o
Cc: tex@g.o
Subject: [gentoo-dev] [PATCH] texlive-common.eclass: fix several @USAGE problems
Date: Fri, 06 Sep 2019 19:11:29
Message-Id: 20190906191122.1522-1-bkohler@gentoo.org
1 Signed-off-by: Ben Kohler <bkohler@g.o>
2 ---
3 eclass/texlive-common.eclass | 14 +++++++-------
4 1 file changed, 7 insertions(+), 7 deletions(-)
5
6 diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
7 index e9a2eee65bd..b36be7a4db3 100644
8 --- a/eclass/texlive-common.eclass
9 +++ b/eclass/texlive-common.eclass
10 @@ -61,7 +61,7 @@ texlive-common_is_file_present_in_texmf() {
11 }
12
13 # @FUNCTION: texlive-common_do_symlinks
14 -# @USAGE: < src > < dest >
15 +# @USAGE: <src> <dest>
16 # @DESCRIPTION:
17 # Mimic the install_link function of texlinks
18 #
19 @@ -99,7 +99,7 @@ texlive-common_do_symlinks() {
20 }
21
22 # @FUNCTION: etexlinks
23 -# @USAGE: < file >
24 +# @USAGE: <file>
25 # @DESCRIPTION:
26 # Mimic texlinks on a fmtutil format file
27 #
28 @@ -117,7 +117,7 @@ etexlinks() {
29 }
30
31 # @FUNCTION: dobin_texmf_scripts
32 -# @USAGE: < file1 file2 ... >
33 +# @USAGE: <file1> [file2] ...
34 # @DESCRIPTION:
35 # Symlinks a script from the texmf tree to /usr/bin. Requires permissions to be
36 # correctly set for the file that it will point to.
37 @@ -133,10 +133,10 @@ dobin_texmf_scripts() {
38 }
39
40 # @FUNCTION: etexmf-update
41 -# @USAGE: In ebuilds' pkg_postinst and pkg_postrm phases
42 # @DESCRIPTION:
43 # Runs texmf-update if it is available and prints a warning otherwise. This
44 -# function helps in factorizing some code.
45 +# function helps in factorizing some code. Useful in ebuilds' pkg_postinst and
46 +# pkg_postrm phases.
47
48 etexmf-update() {
49 if has_version 'app-text/texlive-core' ; then
50 @@ -151,10 +151,10 @@ etexmf-update() {
51 }
52
53 # @FUNCTION: efmtutil-sys
54 -# @USAGE: In ebuilds' pkg_postinst to force a rebuild of TeX formats.
55 # @DESCRIPTION:
56 # Runs fmtutil-sys if it is available and prints a warning otherwise. This
57 -# function helps in factorizing some code.
58 +# function helps in factorizing some code. Used in ebuilds' pkg_postinst to
59 +# force a rebuild of TeX formats.
60
61 efmtutil-sys() {
62 if has_version 'app-text/texlive-core' ; then
63 --
64 2.23.0