1#!gmake 2 3# XSLT processor - other possibilities like Saxon exist 4XSLT = xsltproc --nonet 5 6# Location of locally customized stylesheet, which imports 7# the Docbook modular stylesheets, and specifically the 8# stylesheet to convert Docbook 5 + MathML => HTML5 9DB2XHTML = khronos-man.xsl 10 11.SUFFIXES: .xml .html .xhtml 12 13# EGL man pages 14 15EGLXML = \ 16 eglBindAPI.xhtml \ 17 eglBindTexImage.xhtml \ 18 eglChooseConfig.xhtml \ 19 eglClientWaitSync.xhtml \ 20 eglCopyBuffers.xhtml \ 21 eglCreateContext.xhtml \ 22 eglCreateImage.xhtml \ 23 eglCreatePbufferSurface.xhtml \ 24 eglCreatePbufferFromClientBuffer.xhtml \ 25 eglCreatePixmapSurface.xhtml \ 26 eglCreatePlatformPixmapSurface.xhtml \ 27 eglCreatePlatformWindowSurface.xhtml \ 28 eglCreateSync.xhtml \ 29 eglCreateWindowSurface.xhtml \ 30 eglDestroyContext.xhtml \ 31 eglDestroyImage.xhtml \ 32 eglDestroySurface.xhtml \ 33 eglDestroySync.xhtml \ 34 eglGetConfigAttrib.xhtml \ 35 eglGetConfigs.xhtml \ 36 eglGetCurrentContext.xhtml \ 37 eglGetCurrentDisplay.xhtml \ 38 eglGetCurrentSurface.xhtml \ 39 eglGetDisplay.xhtml \ 40 eglGetError.xhtml \ 41 eglGetPlatformDisplay.xhtml \ 42 eglGetProcAddress.xhtml \ 43 eglGetSyncAttrib.xhtml \ 44 eglInitialize.xhtml \ 45 eglIntro.xhtml \ 46 eglMakeCurrent.xhtml \ 47 eglQueryAPI.xhtml \ 48 eglQueryContext.xhtml \ 49 eglQueryString.xhtml \ 50 eglQuerySurface.xhtml \ 51 eglReleaseTexImage.xhtml \ 52 eglReleaseThread.xhtml \ 53 eglSurfaceAttrib.xhtml \ 54 eglSwapBuffers.xhtml \ 55 eglSwapInterval.xhtml \ 56 eglTerminate.xhtml \ 57 eglWaitClient.xhtml \ 58 eglWaitGL.xhtml \ 59 eglWaitNative.xhtml \ 60 eglWaitSync.xhtml 61 62XML = $(EGLXML) 63 64# Generate just a few files, for testing 65#XML = glViewport.xhtml glTexImage2D.xhtml glPixelStore.xhtml 66 67default: $(XML) indices 68 69# Dependencies on XIncluded files - none yet. 70# 71#glTexImage2D.xhtml glTexImage3D.xhtml \ 72# : ../internalformattable.xml ../unsizedformattable.xml 73# 74## These are very conservative dependencies 75#$(GLSLXML): $(GLSLXIFILES) 76 77$(XML): %.xhtml: ../%.xml $(DB2XHTML) 78 $(XSLT) --xinclude --noout $(DB2XHTML) $< 79 80indices: Makefile makeindex.py $(XML) 81 ./makeindex.py . .. index.php indexflat.php 82 83clean: 84 $(RM) $(XML) index.php indexflat.php 85 86clobber: clean 87