summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-06 09:54:00 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-06 09:56:31 -0800
commitbd3fdbaac0e87a731c9c30a97518a2af32885331 (patch)
tree45e8925aa4ccb34dd0f9584e0fabe8cfc3fd10ef /net-mail/notmuch
parentmedia-gfx/imagemagick: cleanup old (diff)
downloadgentoo-bd3fdbaac0e87a731c9c30a97518a2af32885331.tar.gz
gentoo-bd3fdbaac0e87a731c9c30a97518a2af32885331.tar.bz2
gentoo-bd3fdbaac0e87a731c9c30a97518a2af32885331.zip
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@gentoo.org>
Diffstat (limited to 'net-mail/notmuch')
-rw-r--r--net-mail/notmuch/notmuch-0.31-r2.ebuild6
1 files 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 bd9a233912c1..88f4451fc0b1 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