2002-04-03 00:27:05 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# bootstrap the build when checking out from CVS
|
|
|
|
|
2002-04-04 23:11:31 +00:00
|
|
|
if [ "$1" = "clean" ]; then
|
2002-08-14 04:36:14 +00:00
|
|
|
# quick hack to remove extra generated files that make distclean
|
|
|
|
# doesn't remove
|
2002-10-14 20:52:28 +00:00
|
|
|
find . -name Makefile.in -print0 | xargs -0 rm -f
|
2002-08-14 04:36:14 +00:00
|
|
|
rm -f aclocal.m4 install-sh missing mkinstalldirs \
|
|
|
|
stamp-* tags configure config.* \
|
2002-09-17 00:49:55 +00:00
|
|
|
compile depcomp ltmain.sh libtool
|
2002-08-14 04:36:14 +00:00
|
|
|
rm -rf autom4te.cache libltdl
|
2002-09-17 00:49:55 +00:00
|
|
|
rm -rf quake2-*.tar.gz
|
2002-10-14 20:52:28 +00:00
|
|
|
find . -name '*~' -print0 | xargs -0 rm -f
|
|
|
|
find . -name '*.rej' -print0 | xargs -0 rm -f
|
|
|
|
find . -name '*.orig' -print0 | xargs -0 rm -f
|
2002-08-14 04:36:14 +00:00
|
|
|
exit
|
2002-04-04 13:44:56 +00:00
|
|
|
fi
|
2002-08-14 04:36:14 +00:00
|
|
|
|
|
|
|
# no version checking is done here, it's too hard and not worth the effort
|
|
|
|
# when one can just read the README
|
2004-01-31 05:18:55 +00:00
|
|
|
aclocal && \
|
2002-08-14 04:36:14 +00:00
|
|
|
autoheader && \
|
2007-12-16 18:28:03 +00:00
|
|
|
touch ltconfig && \
|
2002-12-06 14:49:11 +00:00
|
|
|
libtoolize --copy --automake && \
|
2004-01-31 05:18:55 +00:00
|
|
|
automake --foreign --add-missing --copy && \
|
2007-12-16 18:28:03 +00:00
|
|
|
touch depcomp && \
|
2002-08-14 04:36:14 +00:00
|
|
|
autoconf
|