mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
3cf26c3904
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
24 lines
784 B
Bash
Executable file
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
|