mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 21:51:58 +00:00
- 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
This commit is contained in:
parent
91f39e0e8a
commit
3cf26c3904
2 changed files with 22 additions and 39 deletions
6
README
6
README
|
@ -4,8 +4,8 @@ README for quake2
|
|||
Compiling
|
||||
---------
|
||||
|
||||
If you are checking this out from CVS, run the bootstrap command first to
|
||||
set up configure. You will need autoconf 2.50, automake 1.6, libtool 1.4,
|
||||
If you are checking this out from CVS, run ``./bootstrap'' first to set
|
||||
up configure. You will need autoconf 2.50, automake 1.6, libtool 1.4,
|
||||
or greater. Then follow the instructions in INSTALL.
|
||||
|
||||
When specifying locations to arguments like --with-svgalib (i.e. all the
|
||||
|
@ -22,7 +22,7 @@ Installing the game data
|
|||
|
||||
The game data is searched for in ./baseq2/ and in
|
||||
${prefix}/share/quake2/baseq2/ (which by default is
|
||||
/usr/local/share/quake2/baseq2/. If you get an error that quake2 can't
|
||||
/usr/local/share/quake2/baseq2/). If you get an error that quake2 can't
|
||||
find pics/colormap.pcx, it means that it can't find your pak0.pak. Check
|
||||
what prefix you gave to configure, and make sure you have pak0.pak in the
|
||||
right directory.
|
||||
|
|
55
bootstrap
55
bootstrap
|
@ -1,41 +1,24 @@
|
|||
#!/bin/sh
|
||||
|
||||
# bootstrap the build when checking out from CVS
|
||||
|
||||
# dodgy hack to use gmake if we're on bsd systems
|
||||
if [ -x /usr/local/bin/gmake ]; then
|
||||
MAKE=/usr/local/bin/gmake
|
||||
else
|
||||
MAKE=make
|
||||
fi
|
||||
|
||||
if [ "$1" = "clean" ]; then
|
||||
# clean up junk
|
||||
|
||||
if [ -f Makefile ]; then
|
||||
$MAKE distclean
|
||||
fi
|
||||
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
|
||||
|
||||
else
|
||||
|
||||
VERSION=`automake --version |head -1| sed 's/automake (GNU automake) //'`
|
||||
MAJOR=`echo $VERSION | cut -f1 -d.`
|
||||
MINOR=`echo $VERSION | cut -f2 -d.`
|
||||
if test "$MAJOR" -ge "1" -a "$MINOR" -ge "6"; then
|
||||
aclocal
|
||||
autoheader
|
||||
libtoolize --copy --ltdl --automake
|
||||
automake --foreign --add-missing --copy
|
||||
autoconf
|
||||
else
|
||||
echo "Need automake version 1.6 or higher"
|
||||
fi
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue