quake2forge/bootstrap
Jamie Wilkinson 4aaa3094a3 * src/rw*svgalib.c compile fine without src/vt.h, so
commented it out in them, and removed from configure test
2002-04-09 02:01:36 +00:00

29 lines
530 B
Bash
Executable file

#!/bin/sh
# bootstrap the build when checking out from CVS
# dodgy hack to use gmake if we're on bsd systems
if [ -x /usr/local/bin/gmake ]; then
MAKE=/usr/local/bin/gmake
else
MAKE=make
fi
if [ "$1" = "clean" ]; then
# clean up junk
if [ -f Makefile ]; then
$MAKE distclean
fi
find . -name Makefile.in -print | xargs 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