summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-12-30 16:40:11 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-12-30 16:40:11 +0000
commit05473cd4d1819a51fc14da6e4fa988fcad669abc (patch)
tree62c7299e07735b68b0f11fe31a268c200dfbc747 /eclass/gems.eclass
parentStable on x86, bug #159416. (diff)
downloadgentoo-2-05473cd4d1819a51fc14da6e4fa988fcad669abc.tar.gz
gentoo-2-05473cd4d1819a51fc14da6e4fa988fcad669abc.tar.bz2
gentoo-2-05473cd4d1819a51fc14da6e4fa988fcad669abc.zip
doc useflag should check for RI doc too, #145222
Diffstat (limited to 'eclass/gems.eclass')
-rw-r--r--eclass/gems.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass
index a03d021423cf..57c0eeb30c7c 100644
--- a/eclass/gems.eclass
+++ b/eclass/gems.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.10 2006/12/29 16:56:33 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.11 2006/12/30 16:40:11 pclouds Exp $
#
# Author: Rob Cakebread <pythonhead@gentoo.org>
# Current Maintainer: Ruby Herd <ruby@gentoo.org>
@@ -51,10 +51,11 @@ gems_src_install() {
spec_path=${D}/${GEMSDIR}/specifications/${MY_P}.gemspec
fi
+ # RI documentation installation: bug #145222
if use doc; then
- myconf="--rdoc"
+ myconf="--rdoc --ri"
else
- myconf="--no-rdoc"
+ myconf="--no-rdoc --no-ri"
fi
dodir ${GEMSDIR}