build: do not create an INSTALL file

If the general-instruction INSTALL file is not desired, just specify so
in AUTOMAKE_OPTIONS rather than fiddling with it in autogen.sh.
This commit is contained in:
Jan Engelhardt 2013-12-10 17:02:05 +01:00
parent d44fdfaeee
commit f5396cf3c7
2 changed files with 1 additions and 16 deletions

View file

@ -1,11 +1,5 @@
#!/bin/sh
if [ -e INSTALL ]; then
have_INSTALL=true
else
have_INSTALL=false
fi
mkdir -p autotools
aclocal
@ -14,13 +8,4 @@ automake -ac
autoconf
automake
# The INSTALL file is autogenerated, so it isn't stored in version control.
# As the file isn't present, automake's -a option will install generic
# install instructions. So remove INSTALL if automake installed one.
if ! $have_INSTALL; then
rm -f INSTALL
fi
./configure "$@"

View file

@ -95,7 +95,7 @@ AM_CONDITIONAL(HAVE_PYTHON, $HAVE_PYTHON)
dnl Automake v1.8.0 is required, please upgrade!
AM_INIT_AUTOMAKE([1.8.0])
AM_INIT_AUTOMAKE([1.8.0 foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`