1 |
commit: 4eb1125570afc67cd31a076606dee8371ccf6fa6 |
2 |
Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 4 18:15:47 2020 +0000 |
4 |
Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 20:09:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb11255 |
7 |
|
8 |
games-simulation/flightgear: Fix QA warnings |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org> |
12 |
|
13 |
games-simulation/flightgear/flightgear-2020.1.2.ebuild | 13 +++++++------ |
14 |
games-simulation/flightgear/flightgear-9999.ebuild | 13 +++++++------ |
15 |
2 files changed, 14 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/games-simulation/flightgear/flightgear-2020.1.2.ebuild b/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
18 |
index d3f932dbf99..3a428d9e25a 100644 |
19 |
--- a/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
20 |
+++ b/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
21 |
@@ -146,12 +146,13 @@ src_install() { |
22 |
|
23 |
# Install examples and other misc files |
24 |
if use examples; then |
25 |
- insinto /usr/share/doc/"${PF}"/examples |
26 |
- doins -r scripts/java scripts/perl scripts/python |
27 |
- insinto /usr/share/doc/"${PF}"/examples/c++ |
28 |
- doins -r scripts/example/* |
29 |
- insinto /usr/share/doc/"${PF}"/tools |
30 |
- doins -r scripts/atis scripts/tools/* |
31 |
+ docompress -x /usr/share/doc/"${PF}"/{examples,tools} |
32 |
+ docinto examples |
33 |
+ dodoc -r scripts/java scripts/perl scripts/python |
34 |
+ docinto examples/c++ |
35 |
+ dodoc -r scripts/example/* |
36 |
+ docinto tools |
37 |
+ dodoc -r scripts/atis scripts/tools/* |
38 |
fi |
39 |
|
40 |
# Install nasal script syntax |
41 |
|
42 |
diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild |
43 |
index fcfdb4a0c9e..85e77a5fdaa 100644 |
44 |
--- a/games-simulation/flightgear/flightgear-9999.ebuild |
45 |
+++ b/games-simulation/flightgear/flightgear-9999.ebuild |
46 |
@@ -148,12 +148,13 @@ src_install() { |
47 |
|
48 |
# Install examples and other misc files |
49 |
if use examples; then |
50 |
- insinto /usr/share/doc/"${PF}"/examples |
51 |
- doins -r scripts/java scripts/perl scripts/python |
52 |
- insinto /usr/share/doc/"${PF}"/examples/c++ |
53 |
- doins -r scripts/example/* |
54 |
- insinto /usr/share/doc/"${PF}"/tools |
55 |
- doins -r scripts/atis scripts/tools/* |
56 |
+ docompress -x /usr/share/doc/"${PF}"/{examples,tools} |
57 |
+ docinto examples |
58 |
+ dodoc -r scripts/java scripts/perl scripts/python |
59 |
+ docinto examples/c++ |
60 |
+ dodoc -r scripts/example/* |
61 |
+ docinto tools |
62 |
+ dodoc -r scripts/atis scripts/tools/* |
63 |
fi |
64 |
|
65 |
# Install nasal script syntax |