1 |
commit: 2260e7d02078916bd4301e9d3534a85513588484 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 09:11:00 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 09:11:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2260e7d0 |
7 |
|
8 |
sci-libs/cln: 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-libs/cln/cln-1.3.6.ebuild | 13 ++++++++----- |
14 |
1 file changed, 8 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/cln/cln-1.3.6.ebuild b/sci-libs/cln/cln-1.3.6.ebuild |
17 |
index 6d68f1bf39d..319cd491c61 100644 |
18 |
--- a/sci-libs/cln/cln-1.3.6.ebuild |
19 |
+++ b/sci-libs/cln/cln-1.3.6.ebuild |
20 |
@@ -36,19 +36,22 @@ src_prepare() { |
21 |
src_compile() { |
22 |
default |
23 |
if use doc; then |
24 |
- cd "${BUILD_DIR}" |
25 |
+ pushd doc > /dev/null |
26 |
export VARTEXFONTS="${T}/fonts" |
27 |
emake html pdf |
28 |
- DOCS=("${BUILD_DIR}/doc/cln.pdf") |
29 |
- HTML_DOCS=("${BUILD_DIR}/doc/") |
30 |
+ DOCS=( doc/cln.pdf ) |
31 |
+ HTML_DOCS=( doc/cln.html ) |
32 |
fi |
33 |
} |
34 |
|
35 |
src_install () { |
36 |
default |
37 |
+ if use doc; then |
38 |
+ einstalldocs |
39 |
+ fi |
40 |
if use examples; then |
41 |
docompress -x /usr/share/doc/${PF}/examples |
42 |
- insinto /usr/share/doc/${PF}/examples |
43 |
- doins examples/*.cc |
44 |
+ docinto examples |
45 |
+ dodoc examples/*.cc |
46 |
fi |
47 |
} |