summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild')
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
index 9c4e5391fc6a..df67c7f57f19 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
@@ -45,13 +45,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
}