- Tweaks to configure output.

- Updated release script.
This commit is contained in:
Jamie Wilkinson 2004-03-08 11:14:08 +00:00
parent d5bf231d98
commit a5b442aca6
2 changed files with 15 additions and 10 deletions

View file

@ -597,9 +597,9 @@ dnl -----------------
WARN_CFLAGS="" WARN_CFLAGS=""
dnl USE_WARN="" dnl USE_WARN=""
AC_MSG_CHECKING(whether to enable compiler warnings) AC_MSG_CHECKING(whether to abort on compiler warnings)
AC_ARG_ENABLE(warn, AC_ARG_ENABLE(warn,
[ --disable-warn disable compiler warnings ], [ --disable-warn don't abort on compiler warnings ],
AC_MSG_RESULT(no), AC_MSG_RESULT(no),
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
dnl USE_WARN="yes" dnl USE_WARN="yes"
@ -718,6 +718,8 @@ AC_DEFINE_UNQUOTED(PKGLIBDIR, "$PKGLIBDIR", [Define this to the path containing
eval PKGDATADIR="$datadir/$PACKAGE" eval PKGDATADIR="$datadir/$PACKAGE"
AC_DEFINE_UNQUOTED(PKGDATADIR, "$PKGDATADIR", [Define this to the path containing the game data (\${prefix}/share/quake2/)]) AC_DEFINE_UNQUOTED(PKGDATADIR, "$PKGDATADIR", [Define this to the path containing the game data (\${prefix}/share/quake2/)])
eval BINDIR="$bindir"
dnl --------------------------------- dnl ---------------------------------
dnl Work out what refreshers to build dnl Work out what refreshers to build
dnl --------------------------------- dnl ---------------------------------
@ -861,7 +863,7 @@ fi
AC_MSG_RESULT([ AC_MSG_RESULT([
Installation directories: Installation directories:
Program: ........... ${prefix}/bin Program: ........... $BINDIR
Audio/Video plugins: $PKGLIBDIR Audio/Video plugins: $PKGLIBDIR
Game data: ......... $PKGDATADIR Game data: ......... $PKGDATADIR

View file

@ -11,12 +11,13 @@ if [ -z "$1" ]; then
echo tag is something like version_0_1 for version 0.1 echo tag is something like version_0_1 for version 0.1
echo you should have already tagged the repository, as echo you should have already tagged the repository, as
echo this script is going to cvs export from that tag echo this script is going to cvs export from that tag
exit 1
fi fi
# this script is prone to err, tell me what's happening # this script is prone to err, tell me what's happening
set -x set -x
cd ~/src/quake2 cd ~/src/quake2/old
chmod -R u+w export chmod -R u+w export
rm -rf export rm -rf export
@ -25,7 +26,7 @@ mkdir export
cd export cd export
cvs -d :ext:gozer:/project/cvs export -r $1 quake2 cvs -d :ext:zuul:/project/cvs export -r $1 quake2
cd ../cvs cd ../cvs
@ -35,10 +36,6 @@ cd ../export/quake2
cp ../../cvs/ChangeLog . cp ../../cvs/ChangeLog .
./bootstrap
./configure
make distcheck make distcheck
VERSION=`echo $1 | sed -e 's/version_//' -e 's/_/./g'` VERSION=`echo $1 | sed -e 's/version_//' -e 's/_/./g'`
@ -51,6 +48,12 @@ tar zxf quake2-$VERSION.tar.gz
tar jcf quake2-$VERSION.tar.bz2 quake2-$VERSION/ tar jcf quake2-$VERSION.tar.bz2 quake2-$VERSION/
md5sum quake2-$VERSION.* | tee quake2-$VERSION.release zip -qr quake2-$VERSION.zip quake2-$VERSION/
md5sum quake2-$VERSION.* | grep -v 'release' | tee quake2-$VERSION.release
scp quake2-$VERSION.* zuul:/home/anonftp/quake2forge
rm -r quake2-$VERSION rm -r quake2-$VERSION
pwd