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:
parent
d44fdfaeee
commit
f5396cf3c7
2 changed files with 1 additions and 16 deletions
15
autogen.sh
15
autogen.sh
|
|
@ -1,11 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -e INSTALL ]; then
|
|
||||||
have_INSTALL=true
|
|
||||||
else
|
|
||||||
have_INSTALL=false
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p autotools
|
mkdir -p autotools
|
||||||
|
|
||||||
aclocal
|
aclocal
|
||||||
|
|
@ -14,13 +8,4 @@ automake -ac
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
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 "$@"
|
./configure "$@"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ AM_CONDITIONAL(HAVE_PYTHON, $HAVE_PYTHON)
|
||||||
|
|
||||||
dnl Automake v1.8.0 is required, please upgrade!
|
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])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`
|
WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue