summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2017-02-12 16:52:44 -0600
committerDoug Goldstein <cardoe@gentoo.org>2017-02-12 16:53:34 -0600
commitedb664cb587703559a05d2f9e6a75236b85834db (patch)
treea35a5a0e5c45cb779e1e9c791994ce977fa4f4ce /eclass
parentsys-apps/portage: PYTHON_COMPAT: add python3_6 (diff)
downloadgentoo-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')
-rw-r--r--eclass/cargo.eclass2
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