From 3dc2033249469ce893abcd73164058280fbaae95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 6 Apr 2017 09:40:27 +0200 Subject: [PATCH] sys-devel/clang: Fix installing extra tool docs to docdir --- sys-devel/clang/clang-4.0.0-r1.ebuild | 3 +++ sys-devel/clang/clang-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) 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" } -- 2.26.2