1 |
commit: edb664cb587703559a05d2f9e6a75236b85834db |
2 |
Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 22:52:44 2017 +0000 |
4 |
Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 22:53:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb664cb |
7 |
|
8 |
cargo.eclass: ensure man pages are installed |
9 |
|
10 |
If man pages are shipped with a crate, let's install them. |
11 |
|
12 |
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org> |
13 |
|
14 |
eclass/cargo.eclass | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass |
18 |
index 8089227a15..d2140dc99b 100644 |
19 |
--- a/eclass/cargo.eclass |
20 |
+++ b/eclass/cargo.eclass |
21 |
@@ -125,6 +125,8 @@ cargo_src_install() { |
22 |
cargo install --root="${D}/usr" $(usex debug --debug "") \ |
23 |
|| die "cargo install failed" |
24 |
rm -f "${D}/usr/.crates.toml" |
25 |
+ |
26 |
+ [ -d "${S}/man" ] && doman "${S}/man" |
27 |
} |
28 |
|
29 |
fi |