From: Nguyen Thai Ngoc Duy Date: Sat, 30 Dec 2006 16:40:11 +0000 (+0000) Subject: doc useflag should check for RI doc too, #145222 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a66df92b168af12bd1d3da7d58a4b6a089a20ba;p=gentoo.git doc useflag should check for RI doc too, #145222 --- 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 # Current Maintainer: Ruby Herd @@ -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}