build: set automake flavour to foreign to avoid dirty tricks.

Using the foreign flavour you can forego the ABOUT-NLS file as well as
keep the custom INSTALL file.

Signed-off-by: Rafaël Carré <funman@videolan.org>
This commit is contained in:
Diego Elio Pettenò 2012-09-04 07:38:58 -07:00 committed by Rafaël Carré
parent 0752b93c25
commit 1ce6c073f4
2 changed files with 2 additions and 8 deletions

View File

@ -75,14 +75,8 @@ set -x
### classic bootstrap stuff
###
# Automake complains if these are not present
echo > ABOUT-NLS
cp -f INSTALL INSTALL.git
autoreconf --install --force --verbose ${ACLOCAL_ARGS}
rm -f po/Makevars.template ABOUT-NLS
echo > ABOUT-NLS
mv -f INSTALL.git INSTALL
rm -f po/Makevars.template
##
## files which need to be regenerated

View File

@ -24,7 +24,7 @@ AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_PRESERVE_HELP_ORDER
AM_INIT_AUTOMAKE(tar-ustar color-tests)
AM_INIT_AUTOMAKE(tar-ustar color-tests foreign)
AM_CONFIG_HEADER(config.h)
# Disable with "./configure --disable-silent-rules" or "make V=1"