summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/nfft')
-rw-r--r--sci-libs/nfft/nfft-3.5.2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/nfft/nfft-3.5.2.ebuild b/sci-libs/nfft/nfft-3.5.2.ebuild
index 27ff8602d25e..f0ea656c7539 100644
--- a/sci-libs/nfft/nfft-3.5.2.ebuild
+++ b/sci-libs/nfft/nfft-3.5.2.ebuild
@@ -42,7 +42,10 @@ src_configure() {
src_install() {
default
- use doc || rm -r "${ED}/usr/share/doc/${P}/html" || die
+
+ if ! use doc; then
+ rm -r "${ED}"/usr/share/doc/${P}/html || die
+ fi
# no static archives
find "${ED}" -name '*.la' -delete || die