summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2019-09-06 12:08:03 -0500
committerBen Kohler <bkohler@gentoo.org>2020-03-31 09:57:03 -0500
commit7ca2939ca7e8310b3223c93660ab99c779dcc583 (patch)
treebda155840c4f38bfa7db4735cc93db4acea09f45 /eclass
parentgstreamer.eclass: minor @USAGE fixes (diff)
downloadgentoo-7ca2939ca7e8310b3223c93660ab99c779dcc583.tar.gz
gentoo-7ca2939ca7e8310b3223c93660ab99c779dcc583.tar.bz2
gentoo-7ca2939ca7e8310b3223c93660ab99c779dcc583.zip
texlive-common.eclass: fix several @USAGE problems
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/texlive-common.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 2618cba2e1ac..2072d3ad1605 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -67,7 +67,7 @@ texlive-common_is_file_present_in_texmf() {
}
# @FUNCTION: texlive-common_do_symlinks
-# @USAGE: < src > < dest >
+# @USAGE: <src> <dest>
# @DESCRIPTION:
# Mimic the install_link function of texlinks
#
@@ -103,7 +103,7 @@ texlive-common_do_symlinks() {
}
# @FUNCTION: etexlinks
-# @USAGE: < file >
+# @USAGE: <file>
# @DESCRIPTION:
# Mimic texlinks on a fmtutil format file
#
@@ -121,7 +121,7 @@ etexlinks() {
}
# @FUNCTION: dobin_texmf_scripts
-# @USAGE: < file1 file2 ... >
+# @USAGE: <file1> [file2] ...
# @DESCRIPTION:
# Symlinks a script from the texmf tree to /usr/bin. Requires permissions to be
# correctly set for the file that it will point to.
@@ -137,10 +137,10 @@ dobin_texmf_scripts() {
}
# @FUNCTION: etexmf-update
-# @USAGE: In ebuilds' pkg_postinst and pkg_postrm phases
# @DESCRIPTION:
# Runs texmf-update if it is available and prints a warning otherwise. This
-# function helps in factorizing some code.
+# function helps in factorizing some code. Useful in ebuilds' pkg_postinst and
+# pkg_postrm phases.
etexmf-update() {
if has_version 'app-text/texlive-core' ; then
@@ -155,10 +155,10 @@ etexmf-update() {
}
# @FUNCTION: efmtutil-sys
-# @USAGE: In ebuilds' pkg_postinst to force a rebuild of TeX formats.
# @DESCRIPTION:
# Runs fmtutil-sys if it is available and prints a warning otherwise. This
-# function helps in factorizing some code.
+# function helps in factorizing some code. Used in ebuilds' pkg_postinst to
+# force a rebuild of TeX formats.
efmtutil-sys() {
if has_version 'app-text/texlive-core' ; then