Mercurial > sdl-ios-xcode
diff build-scripts/snapshot.sh @ 2986:bb773ff79106
Updated the snapshot script for use on the website
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2009 06:32:01 +0000 |
parents | b64c1d23039b |
children | 64a2d8f538a1 |
line wrap: on
line diff
--- 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