diff options
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 401b75b..11d869a 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -79,7 +79,7 @@ esac if [[ -z ${_TEXLIVE_MODULE_ECLASS} ]]; then _TEXLIVE_MODULE_ECLASS=1 -inherit texlive-common +inherit estack texlive-common HOMEPAGE="https://www.tug.org/texlive/" @@ -359,6 +359,16 @@ texlive-module_src_install() { if [[ -d texmf-doc ]]; then cp -pR texmf-doc "${ED}/usr/share/" || die fi + + if ver_test -ge 2023 && [[ ${CATEGORY} == dev-texlive ]]; then + eshopts_push -s nullglob + local man_page + for man_page in texmf-dist/doc/man/man[1-8]/*.[1-8]; do + doman "${man_page}" + rm "${man_page}" || die + done + eshopts_pop + fi else if [[ -d texmf-dist/doc ]]; then rm -rf texmf-dist/doc || die |