aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-17 10:20:51 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-18 23:46:19 +0200
commit817566572db7fa33b0ec298b6c9c9156108b55c1 (patch)
treef2e28d92b2d0bdc6a6a2de2c3e0d9ac638f9974a /sys-cluster/libbsctools
parentsys-cluster/libbsctools: I don't care about examples (diff)
downloadguru-817566572db7fa33b0ec298b6c9c9156108b55c1.tar.gz
guru-817566572db7fa33b0ec298b6c9c9156108b55c1.tar.bz2
guru-817566572db7fa33b0ec298b6c9c9156108b55c1.zip
sys-cluster/libbsctools: move examples
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster/libbsctools')
-rw-r--r--sys-cluster/libbsctools/libbsctools-1.0.6-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-cluster/libbsctools/libbsctools-1.0.6-r2.ebuild b/sys-cluster/libbsctools/libbsctools-1.0.6-r2.ebuild
index fa4c089d7..f0b57b126 100644
--- a/sys-cluster/libbsctools/libbsctools-1.0.6-r2.ebuild
+++ b/sys-cluster/libbsctools/libbsctools-1.0.6-r2.ebuild
@@ -24,7 +24,8 @@ src_prepare() {
src_install() {
MAKEOPTS="-j1" emake DESTDIR="${D}" install
dodoc NEWS README AUTHORS
- rm -r "${ED}/usr/share/example" || die
+ mv "${ED}/usr/share/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ docompress -x "/usr/share/doc/${PF}/examples"
find "${D}" -name '*.la' -delete || die
find "${D}" -name '*.a' -delete || die
}