commit: bd3fdbaac0e87a731c9c30a97518a2af32885331
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 6 17:54:00 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Nov 6 17:56:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd3fdbaa
net-mail/notmuch: fix doc installation with USE=mutt
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-mail/notmuch/notmuch-0.31-r2.ebuild | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net-mail/notmuch/notmuch-0.31-r2.ebuild
b/net-mail/notmuch/notmuch-0.31-r2.ebuild
index bd9a233912c..88f4451fc0b 100644
--- a/net-mail/notmuch/notmuch-0.31-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r2.ebuild
@@ -83,7 +83,6 @@ RDEPEND="${COMMON_DEPEND}
nmbug? ( dev-vcs/git )
"
-DOCS=( AUTHORS NEWS README )
SITEFILE="50${PN}-gentoo.el"
pkg_setup() {
@@ -209,8 +208,6 @@ python_install() {
src_install() {
default
- local DOCS=( README{,.rst} INSTALL NEWS )
-
if use doc; then
pushd doc/_build/man/man1 > /dev/null || die
ln notmuch.1 notmuch-setup.1 || die
@@ -241,10 +238,11 @@ src_install() {
doman notmuch-mutt.1
insinto /etc/mutt
doins notmuch-mutt.rc
- DOCS+=( README-mutt )
+ dodoc README-mutt
popd > /dev/null || die
fi
+ local DOCS=( README{,.rst} INSTALL NEWS )
einstalldocs
if use python; then