quake2forge/bootstrap
Jamie Wilkinson 3cf26c3904 - Removed that evil junk from bootstrap that tried to check
for autotools versions -- it's ugly and hard to do right
  and isn't worth the effort -- from now on I will be
  referring people to the first paragraph in the README
2002-08-14 04:36:14 +00:00

24 lines
784 B
Bash
Executable file

#!/bin/sh
# bootstrap the build when checking out from CVS
if [ "$1" = "clean" ]; then
# quick hack to remove extra generated files that make distclean
# doesn't remove
find . -name Makefile.in -print0 | xargs -r0 rm -f
rm -f aclocal.m4 install-sh missing mkinstalldirs \
stamp-* tags configure config.* \
compile depcomp ltmain.sh
rm -rf autom4te.cache libltdl
find . -name '*~' -print0 | xargs -r0 rm -f
find . -name '*.rej' -print0 | xargs -r0 rm -f
find . -name '*.orig' -print0 | xargs -r0 rm -f
exit
fi
# no version checking is done here, it's too hard and not worth the effort
# when one can just read the README
aclocal && \
autoheader && \
libtoolize --copy --ltdl --automake && \
automake --foreign --add-missing --copy && \
autoconf