| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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.108 2011/09/23 04:14:38 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.109 2011/10/05 13:44:25 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 |
| … | |
… | |
| 270 | eautoreconf |
270 | eautoreconf |
| 271 | return 0 |
271 | return 0 |
| 272 | fi |
272 | fi |
| 273 | fi |
273 | fi |
| 274 | |
274 | |
| 275 | [[ -f INSTALL && -f AUTHORS && -f ChangeLog && -f NEWS ]] \ |
275 | [[ -f INSTALL && -f AUTHORS && -f ChangeLog && -f NEWS && -f README ]] \ |
| 276 | || extra_opts="${extra_opts} --foreign" |
276 | || extra_opts="${extra_opts} --foreign" |
| 277 | |
277 | |
| 278 | # --force-missing seems not to be recognized by some flavours of automake |
278 | # --force-missing seems not to be recognized by some flavours of automake |
| 279 | autotools_run_tool automake --add-missing --copy ${extra_opts} "$@" |
279 | autotools_run_tool automake --add-missing --copy ${extra_opts} "$@" |
| 280 | } |
280 | } |