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

Diff of /eclass/autotools.eclass

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

Revision 1.89 Revision 1.90
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.eclass,v 1.89 2010/01/10 18:39:16 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.90 2010/01/15 03:19:03 vapier Exp $
4 4
5# @ECLASS: autotools.eclass 5# @ECLASS: autotools.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: Regenerates auto* build scripts 8# @BLURB: Regenerates auto* build scripts
233 233
234 # --force-missing seems not to be recognized by some flavours of automake 234 # --force-missing seems not to be recognized by some flavours of automake
235 autotools_run_tool automake --add-missing --copy ${extra_opts} "$@" 235 autotools_run_tool automake --add-missing --copy ${extra_opts} "$@"
236} 236}
237 237
238# @FUNCTION: eautopoint
239# @DESCRIPTION:
240# Runs autopoint (from the gettext package).
241eautopoint() {
242 autotools_run_tool autopoint "$@"
243}
244
238# Internal function to run an autotools' tool 245# Internal function to run an autotools' tool
239autotools_run_tool() { 246autotools_run_tool() {
240 if [[ ${EBUILD_PHASE} != "unpack" && ${EBUILD_PHASE} != "prepare" ]]; then 247 if [[ ${EBUILD_PHASE} != "unpack" && ${EBUILD_PHASE} != "prepare" ]]; then
241 ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase" 248 ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase"
242 fi 249 fi

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

  ViewVC Help
Powered by ViewVC 1.1.20