quake2forge/bootstrap

25 lines
407 B
Text
Raw Normal View History

#!/bin/sh
# $Id$
# bootstrap the build when checking out from CVS
2002-04-04 23:11:31 +00:00
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