The two man pages eglman and glslman are created with the following command
for xml in *.xml
do
xsltproc --noout --nonet ~/Downloads/docbook-xsl-1.76.1/manpages/docbook.xsl $xml
done
for f in *.3G
do
gzip $f
done
If you want to create your own OpenGL/EGL/GLSL man pages, checkout the repository from here firstly
https://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages
Then, download docbook-xsl-1.76.1.tar.bz2
and use the docbook.xsl
inside the package.
Notice, other version of docbook
won't work, I have tried. It must be exactly the version 1.76.1
.
Then, You can run the command above to create your own man pages.
Finally, in order to look up EGL/GLSL functions from terminal, append the path to your enviroment variable MANPATH
export MANPATH=$MANPATH:/path/to/eglman:/path/to/glslman