-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
executable file
·27 lines (25 loc) · 847 Bytes
/
bootstrap
File metadata and controls
executable file
·27 lines (25 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/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 -0 rm -f
rm -f aclocal.m4 install-sh missing mkinstalldirs \
stamp-* tags configure config.* \
compile depcomp ltmain.sh libtool
rm -rf autom4te.cache libltdl
rm -rf quake2-*.tar.gz
find . -name '*~' -print0 | xargs -0 rm -f
find . -name '*.rej' -print0 | xargs -0 rm -f
find . -name '*.orig' -print0 | xargs -0 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 && \
touch ltconfig && \
libtoolize --copy --automake && \
automake --foreign --add-missing --copy && \
touch depcomp && \
autoconf