/[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.32 Revision 1.34
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.32 2012/01/05 22:42:53 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.34 2012/01/14 14:41:10 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>
92 2|3|4) ;; 92 2|3|4) ;;
93 *) die "EAPI=${EAPI} is not supported" ;; 93 *) die "EAPI=${EAPI} is not supported" ;;
94esac 94esac
95 95
96# @ECLASS-VARIABLE: AUTOTOOLS_AUTORECONF 96# @ECLASS-VARIABLE: AUTOTOOLS_AUTORECONF
97# @DEFAULT-UNSET 97# @DEFAULT_UNSET
98# @DESCRIPTION: 98# @DESCRIPTION:
99# Set to a non-empty value in order to enable running autoreconf 99# Set to a non-empty value in order to enable running autoreconf
100# in src_prepare() and adding autotools dependencies. 100# in src_prepare() and adding autotools dependencies.
101# 101#
102# The eclass will try to determine the correct autotools to run including a few 102# The eclass will try to determine the correct autotools to run including a few
426 popd > /dev/null 426 popd > /dev/null
427 427
428 # XXX: support installing them from builddir as well? 428 # XXX: support installing them from builddir as well?
429 if [[ ${DOCS} ]]; then 429 if [[ ${DOCS} ]]; then
430 dodoc "${DOCS[@]}" || die "dodoc failed" 430 dodoc "${DOCS[@]}" || die "dodoc failed"
431 else
432 local f
433 # same list as in PMS
434 for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \
435 THANKS BUGS FAQ CREDITS CHANGELOG; do
436 if [[ -s ${f} ]]; then
437 dodoc "${f}" || die "(default) dodoc ${f} failed"
438 fi
439 done
431 fi 440 fi
432 if [[ ${HTML_DOCS} ]]; then 441 if [[ ${HTML_DOCS} ]]; then
433 dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed" 442 dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
434 fi 443 fi
435 444

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20