#!/bin/sh

rm -rf new_specs
mkdir new_specs

for ff in {,glx,wgl}enum{,ext}.spec {gl,glx,wgl}.{spec,tm} {glx,wgl}ext.spec {,enum}glu.spec
do
 echo $ff
 wget -P new_specs \
  "http://oss.sgi.com/cgi-bin/cvsweb.cgi/~checkout~/projects/ogl-sample/main/doc/registry/specs/$ff"
done

rm specs/*
cp new_specs/* specs
rm -rf new_specs

echo Now run: ./make_opengl specs 1.2
