diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2006-12-06 23:40:08 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-12-06 23:40:08 -0500 |
commit | 0e028ee0f3bfb95d8483bb4c84b84c4bd53b8c53 (patch) | |
tree | e1fa3ad08648030042cbcdbbeb1df8ab685dd604 | |
parent | b8e1f3778e61e3c5a809f610a1af97ea56a9960e (diff) |
[doc/public/Makefile.am] Move the list of private headers generatable
Move the list of private headers into separate file Headers.mk that
Makefile.am includes (using automake). To update the list, just remove
Headers.mk and make.
-rw-r--r-- | doc/public/Headers.mk | 31 | ||||
-rw-r--r-- | doc/public/Makefile.am | 59 |
2 files changed, 55 insertions, 35 deletions
diff --git a/doc/public/Headers.mk b/doc/public/Headers.mk new file mode 100644 index 000000000..24e5e21c3 --- /dev/null +++ b/doc/public/Headers.mk @@ -0,0 +1,31 @@ +PRIVATE_TEST_HFILES = \ + cairo-meta-surface-private.h \ + cairo-truetype-subset-private.h \ + cairo-path-data-private.h \ + cairo-hash-private.h \ + cairo-cache-private.h \ + cairo-output-stream-private.h \ + cairo-arc-private.h \ + cairo-xlib-test.h \ + cairo-paginated-surface-private.h \ + cairo-scaled-font-test.h \ + cairo-scaled-font-subsets-private.h \ + cairo-gstate-private.h \ + cairo-skiplist-private.h \ + cairo-os2-private.h \ + cairo-svg-test.h \ + cairo-freelist-private.h \ + cairo-glitz-private.h \ + cairo-ps-test.h \ + cairo-quartz-private.h \ + cairo-wideint-private.h \ + cairo-path-fixed-private.h \ + cairo-private.h \ + cairo-ft-private.h \ + cairo-xlib-private.h \ + cairo-clip-private.h \ + cairo-pdf-test.h \ + cairo-win32-private.h \ + cairo-analysis-surface-private.h \ + cairo-surface-fallback-private.h \ + cairoint.h diff --git a/doc/public/Makefile.am b/doc/public/Makefile.am index 026ada2a7..d9d9cd4c9 100644 --- a/doc/public/Makefile.am +++ b/doc/public/Makefile.am @@ -18,43 +18,32 @@ DOC_SOURCE_DIR=../../src HFILE_GLOB=$(top_srcdir)/src/*.h CFILE_GLOB=$(top_srcdir)/src/*.c $(top_srcdir)/src/*.h -# Headers to ignore -IGNORE_HFILES= \ - cairo-analysis-surface-private.h \ - cairo-arc-private.h \ - cairo-cache-private.h \ - cairo-clip-private.h \ - cairo-font-subset-private.h \ - cairo-ft-private.h \ - cairo-gstate-private.h \ - cairo-hash-private.h \ - cairo-meta-surface-private.h \ - cairo-output-stream-private.h \ - cairo-paginated-surface-private.h \ - cairo-path-data-private.h \ - cairo-path-fixed-private.h \ - cairo-private.h \ - cairo-quartz-private.h \ - cairo-scaled-font-subsets-private.h \ - cairo-surface-fallback-private.h \ - cairo-wideint-private.h \ - cairo-win32-private.h \ - cairo-xlib-private.h \ - cairo-pdf-test.h \ - cairo-ps-test.h \ - cairo-scaled-font-test.h \ - cairo-svg-test.h \ - cairo-truetype-subset-private.h \ - cairo-xlib-test.h \ - cairoint.h \ - cairo-atsui.h \ - cairo-beos.h \ - cairo-directfb.h \ - cairo-glitz.h \ - cairo-quartz.h \ - cairo-xcb.h \ +include $(srcdir)/Headers.mk + +UNSUPPORTED_HFILES= \ + cairo-atsui.h \ + cairo-beos.h \ + cairo-directfb.h \ + cairo-glitz.h \ + cairo-nquartz.h \ + cairo-os2.h \ + cairo-quartz.h \ + cairo-xcb.h \ cairo-xcb-xrender.h +# Headers to ignore +IGNORE_HFILES= \ + $(PRIVATE_TEST_HFILES) \ + $(UNSUPPORTED_HFILES) + +Headers.mk: + ( echo "PRIVATE_TEST_HFILES = \\"; \ + find $(top_srcdir)/src \ + -name '*-private.h' -o \ + -name '*-test.h' | \ + sed 's@.*/@ @; s@$$@ \\@'; \ + echo ' cairoint.h' ) > $@.tmp + mv $@.tmp $@ # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty. |