summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-02-01 16:11:00 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-02-01 16:11:46 +0700
commit2260e7d02078916bd4301e9d3534a85513588484 (patch)
treebb458158b2e365be5d0a704dd49424a421802374 /sci-libs
parentprofiles/arch/powerpc/ppc64/64ul: mask dev-libs/efl[luajit] (diff)
downloadgentoo-2260e7d02078916bd4301e9d3534a85513588484.tar.gz
gentoo-2260e7d02078916bd4301e9d3534a85513588484.tar.bz2
gentoo-2260e7d02078916bd4301e9d3534a85513588484.zip
sci-libs/cln: ebuild improvements
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/cln/cln-1.3.6.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/sci-libs/cln/cln-1.3.6.ebuild b/sci-libs/cln/cln-1.3.6.ebuild
index 6d68f1bf39d9..319cd491c618 100644
--- a/sci-libs/cln/cln-1.3.6.ebuild
+++ b/sci-libs/cln/cln-1.3.6.ebuild
@@ -36,19 +36,22 @@ src_prepare() {
src_compile() {
default
if use doc; then
- cd "${BUILD_DIR}"
+ pushd doc > /dev/null
export VARTEXFONTS="${T}/fonts"
emake html pdf
- DOCS=("${BUILD_DIR}/doc/cln.pdf")
- HTML_DOCS=("${BUILD_DIR}/doc/")
+ DOCS=( doc/cln.pdf )
+ HTML_DOCS=( doc/cln.html )
fi
}
src_install () {
default
+ if use doc; then
+ einstalldocs
+ fi
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
- insinto /usr/share/doc/${PF}/examples
- doins examples/*.cc
+ docinto examples
+ dodoc examples/*.cc
fi
}