summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild')
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
index 7b7df7eac4cf..41454fc22085 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit findlib eutils
+inherit eutils findlib
DESCRIPTION="O'Caml Graph library"
HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html"
@@ -50,13 +50,14 @@ src_install() {
fi
dodoc README.adoc CREDITS FAQ CHANGES
- if use doc; then
- dohtml doc/*
- fi
if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
+ dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
+
+ if use doc; then
+ docinto html
+ dodoc doc/*
+ fi
}