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