/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

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

Revision 1.61 Revision 1.62
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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/autotools-utils.eclass,v 1.61 2012/12/14 08:40:18 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.62 2013/02/11 09:46:07 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
484 rm -r "${T}"/temp-docdir || die 484 rm -r "${T}"/temp-docdir || die
485 fi 485 fi
486 fi 486 fi
487 487
488 # XXX: support installing them from builddir as well? 488 # XXX: support installing them from builddir as well?
489 if declare -p DOCS &>/dev/null; then
490 # an empty list == don't install anything
489 if [[ ${DOCS} ]]; then 491 if [[ ${DOCS[@]} ]]; then
490 if [[ ${EAPI} == [23] ]]; then 492 if [[ ${EAPI} == [23] ]]; then
491 dodoc "${DOCS[@]}" || die 493 dodoc "${DOCS[@]}" || die
492 else 494 else
493 # dies by itself 495 # dies by itself
494 dodoc -r "${DOCS[@]}" 496 dodoc -r "${DOCS[@]}"
497 fi
495 fi 498 fi
496 else 499 else
497 local f 500 local f
498 # same list as in PMS 501 # same list as in PMS
499 for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \ 502 for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

  ViewVC Help
Powered by ViewVC 1.1.20