56c395
#!/bin/bash
56c395
TODAY=`date +%Y%m%d`
56c395
DIR=gl-manpages-1.1-$TODAY
56c395
mkdir -p $DIR
56c395
for MAN in man4 man3 man2 ; do 
56c395
	svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/$MAN/ $DIR/$MAN --depth immediates
56c395
done
56c395
find $DIR -name .svn | xargs rm -rf
56c395
tar cJf $DIR.tar.xz $DIR