summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-08-04 20:15:47 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2020-08-04 22:09:33 +0200
commit4eb1125570afc67cd31a076606dee8371ccf6fa6 (patch)
treec22d9904e0c2b8356e4a2964578d103989c9d6b8 /games-simulation/flightgear
parentapp-misc/datovka: version bump 4.15.1 (diff)
downloadgentoo-4eb1125570afc67cd31a076606dee8371ccf6fa6.tar.gz
gentoo-4eb1125570afc67cd31a076606dee8371ccf6fa6.tar.bz2
gentoo-4eb1125570afc67cd31a076606dee8371ccf6fa6.zip
games-simulation/flightgear: Fix QA warnings
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r--games-simulation/flightgear/flightgear-2020.1.2.ebuild13
-rw-r--r--games-simulation/flightgear/flightgear-9999.ebuild13
2 files changed, 14 insertions, 12 deletions
diff --git a/games-simulation/flightgear/flightgear-2020.1.2.ebuild b/games-simulation/flightgear/flightgear-2020.1.2.ebuild
index d3f932dbf99c..3a428d9e25ad 100644
--- a/games-simulation/flightgear/flightgear-2020.1.2.ebuild
+++ b/games-simulation/flightgear/flightgear-2020.1.2.ebuild
@@ -146,12 +146,13 @@ src_install() {
# Install examples and other misc files
if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r scripts/java scripts/perl scripts/python
- insinto /usr/share/doc/"${PF}"/examples/c++
- doins -r scripts/example/*
- insinto /usr/share/doc/"${PF}"/tools
- doins -r scripts/atis scripts/tools/*
+ docompress -x /usr/share/doc/"${PF}"/{examples,tools}
+ docinto examples
+ dodoc -r scripts/java scripts/perl scripts/python
+ docinto examples/c++
+ dodoc -r scripts/example/*
+ docinto tools
+ dodoc -r scripts/atis scripts/tools/*
fi
# Install nasal script syntax
diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild
index fcfdb4a0c9e2..85e77a5fdaa6 100644
--- a/games-simulation/flightgear/flightgear-9999.ebuild
+++ b/games-simulation/flightgear/flightgear-9999.ebuild
@@ -148,12 +148,13 @@ src_install() {
# Install examples and other misc files
if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r scripts/java scripts/perl scripts/python
- insinto /usr/share/doc/"${PF}"/examples/c++
- doins -r scripts/example/*
- insinto /usr/share/doc/"${PF}"/tools
- doins -r scripts/atis scripts/tools/*
+ docompress -x /usr/share/doc/"${PF}"/{examples,tools}
+ docinto examples
+ dodoc -r scripts/java scripts/perl scripts/python
+ docinto examples/c++
+ dodoc -r scripts/example/*
+ docinto tools
+ dodoc -r scripts/atis scripts/tools/*
fi
# Install nasal script syntax