summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-12-27 20:45:54 +0000
committerSam James <sam@gentoo.org>2020-12-27 20:45:54 +0000
commit7907d85c94eea1af175b1a79259b0b193fdd0cca (patch)
tree71f433fcf6f29c5c52a3dcbe522e5a80b53fb8d5 /dev-embedded/libftdi
parentdev-embedded/libftdi: respect USE=static-libs with :0 (diff)
downloadgentoo-7907d85c94eea1af175b1a79259b0b193fdd0cca.tar.gz
gentoo-7907d85c94eea1af175b1a79259b0b193fdd0cca.tar.bz2
gentoo-7907d85c94eea1af175b1a79259b0b193fdd0cca.zip
dev-embedded/libftdi: possible man page fixes
Closes: https://bugs.gentoo.org/704952 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded/libftdi')
-rw-r--r--dev-embedded/libftdi/libftdi-0.20-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild
index fa153fa8edcd..f8f5799b48f5 100644
--- a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild
+++ b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild
@@ -71,11 +71,12 @@ src_install() {
if use doc ; then
# Clean up crap man pages. #356369
- rm -vf "${CMAKE_BUILD_DIR}"/doc/man/man3/{_,usb_,deprecated}*
+ rm -vf "${BUILD_DIR}"/doc/man/man3/{_,usb_,deprecated}* || die
- doman "${CMAKE_BUILD_DIR}"/doc/man/man3/*
- dodoc -r "${CMAKE_BUILD_DIR}"/doc/html
+ doman "${BUILD_DIR}"/doc/man/man3/*
+ dodoc -r "${BUILD_DIR}"/doc/html
fi
+
if use examples ; then
docinto examples
dodoc examples/*.c