texlive-module.eclass: fix doc installation
authorDominik Schmidt <dominik@schm1dt.ch>
Thu, 26 Mar 2020 18:28:19 +0000 (19:28 +0100)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 27 Mar 2020 07:39:26 +0000 (10:39 +0300)
commit69c76ab560eae84bd631d6a5d91d1ed6641fd154
treed62eec4b489451df7fc1bba7dfac93465fd23f2c
parent5cc0e7d586f0881523f31740eb6d9f3030a94907
texlive-module.eclass: fix doc installation

If the package does not create ${WORKDIR}/texmf-doc, then the eclass assumes
that no documentation should be installed.
This is assumption is incorrect, since the documentation tar-balls can put the
docs into texmf-dist and not texmf-doc, as happens with e.g. texlive-mathscience.
As a result, the documentation files are not installed anymore.

Bug: https://bugs.gentoo.org/714908
Signed-off-by: Dominik Schmidt <dominik@schm1dt.ch>
Closes: https://github.com/gentoo/gentoo/pull/15128
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
eclass/texlive-module.eclass