From 5ce72a11698272faeaa9d45cea677bc7c15a8a21 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sat, 11 May 2019 00:41:44 -0500 Subject: [PATCH] dev-libs/libyaml: fix doc build support Also, stop installing example code. Closes: https://bugs.gentoo.org/685594 Signed-off-by: Tim Harder --- dev-libs/libyaml/libyaml-0.2.2.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-libs/libyaml/libyaml-0.2.2.ebuild b/dev-libs/libyaml/libyaml-0.2.2.ebuild index b6373be87d00..84ef17996558 100644 --- a/dev-libs/libyaml/libyaml-0.2.2.ebuild +++ b/dev-libs/libyaml/libyaml-0.2.2.ebuild @@ -32,13 +32,13 @@ src_configure() { econf $(use_enable static-libs static) } +src_compile() { + emake + use doc && emake html +} + src_install() { use doc && HTML_DOCS=( doc/html/. ) default - find "${D}" -name '*.la' -delete || die - - docinto examples - dodoc tests/example-*.c - docompress -x /usr/share/doc/${PF}/examples } -- 2.26.2