fruitjam-doom/autogen.sh
Simon Howard c724b3877a Add back -a option to automake, and remove INSTALL if automake installs
it.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2305
2011-03-17 22:54:33 +00:00

26 lines
440 B
Bash
Executable file

#!/bin/sh
if [ -e INSTALL ]; then
have_INSTALL=true
else
have_INSTALL=false
fi
mkdir autotools
aclocal
autoheader
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 "$@"