diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2017-02-12 16:52:44 -0600 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2017-02-12 16:53:34 -0600 |
commit | edb664cb587703559a05d2f9e6a75236b85834db (patch) | |
tree | a35a5a0e5c45cb779e1e9c791994ce977fa4f4ce /eclass/cargo.eclass | |
parent | sys-apps/portage: PYTHON_COMPAT: add python3_6 (diff) | |
download | gentoo-edb664cb587703559a05d2f9e6a75236b85834db.tar.gz gentoo-edb664cb587703559a05d2f9e6a75236b85834db.tar.bz2 gentoo-edb664cb587703559a05d2f9e6a75236b85834db.zip |
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>
Diffstat (limited to 'eclass/cargo.eclass')
-rw-r--r-- | eclass/cargo.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 8089227a159f..d2140dc99bc0 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -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 |