# HG changeset patch # User Sam Lantinga # Date 1231050721 0 # Node ID bb773ff7910658f23c1abf1871fc195a45e32e09 # Parent 4e4d814884aae09681960ecf910c242d1fc9d26a Updated the snapshot script for use on the website diff -r 4e4d814884aa -r bb773ff79106 build-scripts/snapshot.sh --- a/build-scripts/snapshot.sh Sun Jan 04 05:52:14 2009 +0000 +++ b/build-scripts/snapshot.sh Sun Jan 04 06:32:01 2009 +0000 @@ -2,7 +2,8 @@ # # Generate a current snapshot from source control -svn co http://svn.libsdl.org/trunk/SDL +echo "Checking out source" +svn co -q http://svn.libsdl.org/trunk/SDL (cd SDL && ./autogen.sh && rm -rf autom4te.cache) sh SDL/build-scripts/updaterev.sh cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h @@ -18,7 +19,15 @@ path="SDL-$major.$minor.$patch-$rev" mv SDL $path +echo $path.tar.gz tar zcf $path.tar.gz $path +echo $path.zip rm -f $path.zip -zip -r $path.zip $path +zip -rq $path.zip $path rm -rf $path + +#ln -sf $path.tar.gz SDL-1.3.tar.gz +#ln -sf $path.zip SDL-1.3.zip +#date=`date +"%a %b %e"` +#sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../svn.php.new +#mv ../svn.php.new ../svn.php