[cogl/cogl-1.14: 110/174] doc: Automatically build the list of *-private.h files



commit e9078050f4abb764bc94bbbc756df00e3ea0064f
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sun Dec 30 15:12:08 2012 +0000

    doc: Automatically build the list of *-private.h files
    
    Of course, each time one has to maintain a list of files by hand, it
    tends to get out of synch. No exception here. Try to be slightly more
    cunning and compute the list automatically.
    
    (cherry picked from commit 10de693b69851497fa7b3238622b6502406c70dd)

 doc/reference/cogl-2.0-experimental/Makefile.am |   48 ++--------------------
 1 files changed, 5 insertions(+), 43 deletions(-)
---
diff --git a/doc/reference/cogl-2.0-experimental/Makefile.am b/doc/reference/cogl-2.0-experimental/Makefile.am
index 464643e..07fd29a 100644
--- a/doc/reference/cogl-2.0-experimental/Makefile.am
+++ b/doc/reference/cogl-2.0-experimental/Makefile.am
@@ -52,54 +52,16 @@ CFILE_GLOB=$(top_srcdir)/cogl/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
+cogl_private_headers := \
+	$(shell cd $(top_srcdir)/cogl && echo *-private.h && cd - && \
+	cd $(top_srcdir)/cogl/winsys && echo *-private.h && cd -)
+
 IGNORE_HFILES=\
+	$(cogl_private_headers)			\
 	cogl-atlas.h				\
-	cogl-atlas-texture-private.h		\
-	cogl-bitmap-private.h			\
-	cogl-buffer-private.h			\
-	cogl-color-private.h			\
-	cogl-feature-private.h			\
-	cogl-framebuffer-private.h		\
-	cogl-onscreen-private.h			\
-	cogl-gtype-private.h			\
-	cogl-index-array-private.h		\
-	cogl-indices-private.h			\
-	cogl-journal-private.h			\
-	cogl-material-compat.h			\
-	cogl-matrix-private.h			\
-	cogl-object-private.h			\
 	cogl-path.h				\
-	cogl-path-private.h			\
-	cogl-depth-state-private.h		\
-	cogl-pipeline-fragend-arbfp-private.h	\
-	cogl-pipeline-fragend-fixed-private.h	\
-	cogl-pipeline-fragend-glsl-private.h	\
-	cogl-pipeline-opengl-private.h		\
-	cogl-pipeline-private.h			\
-	cogl-pipeline-state-private.h		\
-	cogl-pipeline-layer-state-private.h	\
-	cogl-pipeline-progend-glsl-private.h	\
-	cogl-pipeline-vertend-fixed-private.h	\
-	cogl-pipeline-vertend-glsl-private.h	\
-	cogl-pixel-array-private.h		\
-	cogl-primitive-private.h		\
-	cogl-primitives-private.h		\
-	cogl-private.h				\
-	cogl-program-private.h			\
 	cogl-program.h				\
-	cogl-shader-private.h			\
 	cogl-shader.h				\
-	cogl-snippet-private.h			\
-	cogl-sub-texture-private.h		\
-	cogl-texture-2d-private.h		\
-	cogl-texture-2d-sliced-private.h	\
-	cogl-texture-3d-private.h		\
-	cogl-texture-private.h			\
-	cogl-texture-rectangle-private.h	\
-	cogl-vertex-buffer.h			\
-	cogl-vertex-array-private.h		\
-	cogl-vertex-attribute-private.h		\
-	cogl-vertex-buffer-private.h		\
 	cogl-blend-string.h 			\
 	cogl-clip-stack.h 			\
 	cogl-debug.h 				\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]