Add back -a option to automake, and remove INSTALL if automake installs
it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2305
This commit is contained in:
parent
e512baa1c7
commit
c724b3877a
1 changed files with 15 additions and 1 deletions
16
autogen.sh
16
autogen.sh
|
|
@ -1,12 +1,26 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -e INSTALL ]; then
|
||||||
|
have_INSTALL=true
|
||||||
|
else
|
||||||
|
have_INSTALL=false
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir autotools
|
mkdir autotools
|
||||||
|
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
automake
|
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 "$@"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue