#!/bin/sh
autoconf
cd sources
autoconf
cd libxslt
autoconf
cd ..
cd pike_doc
autoconf
cd ..
cd pike_crypto
autoconf
cd ../..
cd spm
autoconf
cd ..
cd conf
autoconf 
cd ../..
if ! test -d steam-$1; then
	mv coreserver steam-$1
fi
tar -czf steam-$1.tgz steam-$1/ --exclude=CVS --exclude=.cvsignore --exclude=configure.ac --exclude=config.status --exclude=config.log --exclude=debian --exclude=build-stamp --exclude=release_steam --exclude=autom4te.cache --exclude=*.o --exclude=*.so --exclude=*.spm
mv steam-$1 coreserver 