gl-manpages/make-gl-man-snapshot.sh

10 lines
327 B
Bash

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