summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Wiltzer <harleyw@hotmail.com>2018-09-02 15:56:07 -0400
committerMichał Górny <mgorny@gentoo.org>2018-09-18 08:58:09 +0200
commit9df8c3acffa1d832070e50b7f824270a29103f28 (patch)
treee2854423a9ade1d9f35ad7e80838bc8f354a002b
parentnet-im/qtox: add missing libexif dep (diff)
downloadgentoo-9df8c3acffa1d832070e50b7f824270a29103f28.tar.gz
gentoo-9df8c3acffa1d832070e50b7f824270a29103f28.tar.bz2
gentoo-9df8c3acffa1d832070e50b7f824270a29103f28.zip
dev-lang/erlang: Fixes docs pdf installation
Closes: https://bugs.gentoo.org/467116 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9769
-rw-r--r--dev-lang/erlang/erlang-20.3.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/erlang/erlang-20.3.ebuild b/dev-lang/erlang/erlang-20.3.ebuild
index 90ffecb7144f..6d717177588c 100644
--- a/dev-lang/erlang/erlang-20.3.ebuild
+++ b/dev-lang/erlang/erlang-20.3.ebuild
@@ -146,10 +146,12 @@ src_install() {
echo "MANPATH=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
if use doc ; then
- dohtml -A README,erl,hrl,c,h,kwc,info -r \
- "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
+ local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* )
+ docompress -x /usr/share/doc/${PF}
fi
+ einstalldocs
+
if use emacs ; then
pushd "${S}"
elisp-install erlang lib/tools/emacs/*.{el,elc}