From: Tim Harder Date: Sat, 11 May 2019 05:41:44 +0000 (-0500) Subject: dev-libs/libyaml: fix doc build support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ce72a11698272faeaa9d45cea677bc7c15a8a21;p=gentoo.git dev-libs/libyaml: fix doc build support Also, stop installing example code. Closes: https://bugs.gentoo.org/685594 Signed-off-by: Tim Harder --- 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 }