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

Diff of /eclass/autotools.eclass

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

Revision 1.23 Revision 1.24
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.23 2005/10/08 16:02:13 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.24 2005/10/09 12:00:34 flameeyes Exp $
4# 4#
5# Author: Diego Pettenò <flameeyes@gentoo.org> 5# Author: Diego Pettenò <flameeyes@gentoo.org>
6# Enhancements: Martin Schlemmer <azarah@gentoo.org> 6# Enhancements: Martin Schlemmer <azarah@gentoo.org>
7# 7#
8# This eclass is for handling autotooled software packages that 8# This eclass is for handling autotooled software packages that
138 138
139 autotools_run_tool autoconf "$@" 139 autotools_run_tool autoconf "$@"
140} 140}
141 141
142eautomake() { 142eautomake() {
143 local extra_opts
144
143 [[ -f Makefile.am ]] || return 0 145 [[ -f Makefile.am ]] || return 0
146
147 [[ -f INSTALL && -f AUTHORS && -f ChangeLog ]] \
148 || extra_opts="${extra_opts} --foreign"
149
144 # --force-missing seems not to be recognized by some flavours of automake 150 # --force-missing seems not to be recognized by some flavours of automake
145 autotools_run_tool automake --add-missing --copy "$@" 151 autotools_run_tool automake --add-missing --copy ${extra_opts} "$@"
146} 152}
147 153
148 154
149 155
150# Internal function to run an autotools' tool 156# Internal function to run an autotools' tool

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20