/[gentoo-x86]/eclass/ruby-fakegem.eclass
Gentoo

Diff of /eclass/ruby-fakegem.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.6 2009/12/20 23:39:43 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.7 2009/12/21 19:07:38 flameeyes Exp $
4# 4#
5# @ECLASS: ruby-fakegem.eclass 5# @ECLASS: ruby-fakegem.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ruby herd <ruby@gentoo.org> 7# Ruby herd <ruby@gentoo.org>
8# 8#
265# @FUNCTION: all_fakegem_install 265# @FUNCTION: all_fakegem_install
266# @DESCRIPTION: 266# @DESCRIPTION:
267# Install files common to all ruby targets. 267# Install files common to all ruby targets.
268all_fakegem_install() { 268all_fakegem_install() {
269 if [[ -n ${RUBY_FAKEGEM_DOCDIR} ]] && use doc; then 269 if [[ -n ${RUBY_FAKEGEM_DOCDIR} ]] && use doc; then
270 pushd ${RUBY_FAKEGEM_DOCDIR} 270 for dir in ${RUBY_FAKEGEM_DOCDIR}; do
271 pushd ${dir}
271 dohtml -r * || die "failed to install documentation" 272 dohtml -r * || die "failed to install documentation"
272 popd 273 popd
274 done
273 fi 275 fi
274 276
275 if [[ -n ${RUBY_FAKEGEM_EXTRADOC} ]]; then 277 if [[ -n ${RUBY_FAKEGEM_EXTRADOC} ]]; then
276 dodoc ${RUBY_FAKEGEM_EXTRADOC} || die "failed to install further documentation" 278 dodoc ${RUBY_FAKEGEM_EXTRADOC} || die "failed to install further documentation"
277 fi 279 fi

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20