cargo.eclass: ensure man pages are installed

If man pages are shipped with a crate, let's install them.

Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
This commit is contained in:
Doug Goldstein
2017-02-12 16:52:44 -06:00
parent 7046a598bd
commit edb664cb58

View File

@@ -125,6 +125,8 @@ cargo_src_install() {
cargo install --root="${D}/usr" $(usex debug --debug "") \
|| die "cargo install failed"
rm -f "${D}/usr/.crates.toml"
[ -d "${S}/man" ] && doman "${S}/man"
}
fi