mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/nfdump: fix USE=doc
Do not install docs unless USE=doc.
Closes: https://bugs.gentoo.org/954794
Fixes: a15fceea3c
Signed-off-by: Brett A C Sheffield <bacs@librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/592
Merges: https://codeberg.org/gentoo/gentoo/pulls/592
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
9d4173ea03
commit
b6be68eb7d
@@ -33,7 +33,7 @@ BDEPEND="
|
||||
app-alternatives/yacc
|
||||
sys-devel/flex
|
||||
doc? (
|
||||
app-text/doxygen[dot]
|
||||
app-text/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
@@ -52,6 +52,11 @@ DOCS=( AUTHORS ChangeLog README.md )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use doc; then
|
||||
# don't install docs if we didn't ask
|
||||
sed -i -e 's/SUBDIRS += man doc/SUBDIRS += man/' Makefile.am || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
|
||||
if use doc; then
|
||||
Reference in New Issue
Block a user