quake2forge/bootstrap
Jamie Wilkinson 9b44da971f * Added the turd directories to .gitignore
* bootstrap clean removes config.log now
2002-04-06 06:56:44 +00:00

24 lines
407 B
Bash
Executable file

#!/bin/sh
# $Id$
# bootstrap the build when checking out from CVS
if [ "$1" = "clean" ]; then
# clean up junk
if [ -f Makefile ]; then
make distclean
fi
find . -name Makefile.in -print0 | xargs -0 rm -f
rm -f config.h.in aclocal.m4 install-sh missing mkinstalldirs \
stamp-h.in tags configure config.log
else
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
fi