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= --name-space=cpml \
12 --default-includes="$(DOC_MODULE)-1/$(DOC_MODULE).h"
14 FIXXREF_OPTIONS= $(EXTRA_DIR)
15 HFILE_GLOB= $(top_srcdir)/src/cpml/*.h
16 CFILE_GLOB= $(top_srcdir)/src/cpml/*.c
17 IGNORE_HFILES= cpml.h \
19 cpml-introspection.h \
20 cpml-primitive-private.h \
26 include $(top_srcdir)/build/Makefile.am.gtk-doc
28 DISTCLEANFILES= $(DOC_MODULE)-sections.txt
31 # Use an hand-crafted cpml.hierarchy file instead of an empty one.
32 # By default gtk-doc does not allow to have a file name that matches
33 # the type name to avoid id conflicts between the main section and
34 # the struct subsection: this is only allowed for GBoxed and GObject
36 # I *absolutely* want to have file names that match the type names,
37 # so using a fake cpml.hierarchy let gtk-doc treat the plain C
38 # structs of CPML as GBoxed types.
40 EXTRA_DIST+= cpml.hierarchy.fake
43 $(AM_V_at)test -f cpml.hierarchy || \
44 cp $(abs_srcdir)/cpml.hierarchy.fake cpml.hierarchy