1 |
commit: 5ef6f433aa4056e478f0768036da8995b9f7cfe7 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 09:13:59 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 09:13:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef6f433 |
7 |
|
8 |
sci-mathematics/ginac: ebuild improvements |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/ginac/ginac-1.7.8.ebuild | 17 ++++++++--------- |
14 |
1 file changed, 8 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/ginac/ginac-1.7.8.ebuild b/sci-mathematics/ginac/ginac-1.7.8.ebuild |
17 |
index 05317f9ecc2..b8985e5df43 100644 |
18 |
--- a/sci-mathematics/ginac/ginac-1.7.8.ebuild |
19 |
+++ b/sci-mathematics/ginac/ginac-1.7.8.ebuild |
20 |
@@ -53,15 +53,14 @@ src_install() { |
21 |
default |
22 |
if use doc; then |
23 |
pushd doc > /dev/null || die "pushd doc failed" |
24 |
- insinto /usr/share/doc/${PF} |
25 |
- newins tutorial/ginac.pdf tutorial.pdf |
26 |
- newins reference/reference.pdf reference.pdf |
27 |
- insinto /usr/share/doc/${PF}/html/reference |
28 |
- doins -r reference/html_files/* |
29 |
- insinto /usr/share/doc/${PF}/html |
30 |
- newins tutorial/ginac.html tutorial.html |
31 |
- insinto /usr/share/doc/${PF}/examples |
32 |
- doins "${S}"/doc/examples/*.cpp examples/ginac-examples.* |
33 |
+ newdoc tutorial/ginac.pdf tutorial.pdf |
34 |
+ newdoc reference/reference.pdf reference.pdf |
35 |
+ docinto html/reference |
36 |
+ dodoc -r reference/html_files/. |
37 |
+ docinto html |
38 |
+ newdoc tutorial/ginac.html tutorial.html |
39 |
+ docinto examples |
40 |
+ dodoc "${S}"/doc/examples/*.cpp examples/ginac-examples.* |
41 |
popd > /dev/null |
42 |
fi |
43 |
} |