]> git.cworth.org Git - apitrace/blob - gui/resources/glreference-man.sh
d3dretrace: Use DirectXTex for d3d10 state too.
[apitrace] / gui / resources / glreference-man.sh
1 #!/bin/sh
2 # Script to extract reference URLS for functions documented in OpenGL man pages
3
4 wget -N -r -np http://www.opengl.org/sdk/docs/{man,man2,man3,man4}/
5
6 find www.opengl.org -type f -name '*.xml' \
7 | xargs grep -o '<b class="fsfunc">[^<]*</b>' \
8 | sed -e 's/<[^>]*>//g' -e 's@^\(.*\):\(.*\)$@\2\thttp://\1@'