quake2forge/bootstrap

25 lines
397 B
Plaintext
Raw Normal View History

#!/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
else
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
fi