1 include $(top_srcdir)/build/Makefile.am.common
4 DOC_MAIN_SGML_FILE= $(DOC_MODULE)-docs.xml
5 DOC_SOURCE_DIR= $(abs_top_srcdir)/src/cpml
7 SCAN_OPTIONS= --ignore-decorators="CPML_GNUC_CONST" \
9 MKDB_OPTIONS= --sgml-mode \
11 --default-includes="$(DOC_MODULE)-1/$(DOC_MODULE).h"
13 HTML_OPTIONS= --stringparam chunker.output.doctype-public '-//W3C//DTD XHTML 1.0 Strict//EN' \
14 --stringparam chunker.output.doctype-system 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'
16 HFILE_GLOB= $(top_srcdir)/src/cpml/*.h
17 CFILE_GLOB= $(top_srcdir)/src/cpml/*.c
18 IGNORE_HFILES= cpml.h \
20 cpml-introspection.h \
21 cpml-primitive-private.h \
27 include $(top_srcdir)/build/Makefile.am.gtk-doc
29 DISTCLEANFILES= $(DOC_MODULE)-sections.txt
32 # Use an hand-crafted cpml.hierarchy file instead of an empty one.
33 # By default gtk-doc does not allow to have a file name that matches
34 # the type name to avoid id conflicts between the main section and
35 # the struct subsection: this is only allowed for GBoxed and GObject
37 # I *absolutely* want to have file names that match the type names,
38 # so using a fake cpml.hierarchy let gtk-doc treat the plain C
39 # structs of CPML as GBoxed types.
41 EXTRA_DIST+= cpml.hierarchy.fake
44 $(AM_V_at)test -f cpml.hierarchy || \
45 cp $(abs_srcdir)/cpml.hierarchy.fake cpml.hierarchy