quake2forge/bootstrap
Jamie Wilkinson 8e79055eef * run "boostrap clean" to *really* clean up the source tree,
should be as good as doing a pristine checkout
* I've got the xatrix and rogue modpacks building, but their
  license is dubious.  game.h has been updated with the 2
  extra lines that the xatrix and rogue game.h's had, and
  the Makefile.ams will build the code if you unpack them
  into the dirs (with a little modification because of -Wall
  -Werror ;-)
2002-04-04 13:44:56 +00:00

24 lines
397 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
else
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
fi