diff options
author | Christoph Junghans <junghans@gentoo.org> | 2018-01-11 22:20:35 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2018-01-12 19:54:02 -0700 |
commit | fe1014ef3c396c3ab94f54d604da7f082060df3b (patch) | |
tree | e02ca3a1cf2b7978e8432e7cadd7e549d659e3ef /sci-libs | |
parent | profiles: Mask x11-misc/ptbatterysystemtray for removal (diff) | |
download | gentoo-fe1014ef3c396c3ab94f54d604da7f082060df3b.tar.gz gentoo-fe1014ef3c396c3ab94f54d604da7f082060df3b.tar.bz2 gentoo-fe1014ef3c396c3ab94f54d604da7f082060df3b.zip |
sci-libs/fftw: fix doc build for live ebuild
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/fftw/fftw-9999.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild index bef41e83ea09..c08278dde801 100644 --- a/sci-libs/fftw/fftw-9999.ebuild +++ b/sci-libs/fftw/fftw-9999.ebuild @@ -30,11 +30,11 @@ DEPEND="${RDEPEND} test? ( dev-lang/perl )" if [[ ${PV} = *9999 ]]; then DEPEND="${DEPEND} - dev-ml/ocamlbuild" + dev-ml/ocamlbuild + doc? ( media-gfx/transfig )" fi S=${WORKDIR}/${MY_P} -HTML_DOCS=( doc/html/. ) pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -146,7 +146,7 @@ src_configure() { } src_compile() { - multibuild_foreach_variant multilib-minimal_src_compile + multibuild_foreach_variant multilib-minimal_src_compile all $([[ ${PV} = *9999 ]] && usev doc) } multilib_src_test() { @@ -164,6 +164,7 @@ src_test() { } src_install() { + use doc && HTML_DOCS=( doc/html/. ) multibuild_foreach_variant multilib-minimal_src_install dodoc CONVENTIONS @@ -171,8 +172,6 @@ src_install() { dodoc doc/*.pdf docinto faq dodoc -r doc/FAQ/fftw-faq.html/. - else - rm -r "${ED%/}"/usr/share/doc/${PF}/html || die fi local x |