From: Michał Górny Date: Thu, 6 Apr 2017 07:40:27 +0000 (+0200) Subject: sys-devel/clang: Fix installing extra tool docs to docdir X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3dc2033249469ce893abcd73164058280fbaae95;p=gentoo.git sys-devel/clang: Fix installing extra tool docs to docdir --- diff --git a/sys-devel/clang/clang-4.0.0-r1.ebuild b/sys-devel/clang/clang-4.0.0-r1.ebuild index cd232123da27..b8ce12c11d4d 100644 --- a/sys-devel/clang/clang-4.0.0-r1.ebuild +++ b/sys-devel/clang/clang-4.0.0-r1.ebuild @@ -187,6 +187,7 @@ multilib_src_configure() { ) use doc && mycmakeargs+=( -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra" -DSPHINX_WARNINGS_AS_ERRORS=OFF ) else @@ -293,4 +294,6 @@ multilib_src_install_all() { fi docompress "/usr/lib/llvm/${SLOT}/share/man" + # match 'html' non-compression + use doc && docompress -x "/usr/share/doc/${PF}/tools-extra" } diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index 03ed29156ba4..cd95492a02c5 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -184,6 +184,7 @@ multilib_src_configure() { ) use doc && mycmakeargs+=( -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra" -DSPHINX_WARNINGS_AS_ERRORS=OFF ) else @@ -290,4 +291,6 @@ multilib_src_install_all() { fi docompress "/usr/lib/llvm/${SLOT}/share/man" + # match 'html' non-compression + use doc && docompress -x "/usr/share/doc/${PF}/tools-extra" }