mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-14 00:40:39 +00:00
24 lines
396 B
Bash
Executable file
24 lines
396 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
|