a96bf861ba695b213671851c0bcd22b2f6098510
[adg.git] / docs / cpml / Makefile.am
bloba96bf861ba695b213671851c0bcd22b2f6098510
1 include $(top_srcdir)/build/Makefile.am.common
3 DOC_MODULE=             cpml
4 DOC_MAIN_SGML_FILE=     $(DOC_MODULE)-docs.xml
5 DOC_SOURCE_DIR=         $(abs_top_srcdir)/src/cpml
6 SCANGOBJ_OPTIONS=
7 SCAN_OPTIONS=           --ignore-decorators="CPML_GNUC_CONST" \
8                         --rebuild-sections
9 MKDB_OPTIONS=           --sgml-mode \
10                         --output-format=xml \
11                         --default-includes="$(DOC_MODULE)-1/$(DOC_MODULE).h"
12 MKHTML_OPTIONS=
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'
15 FIXXREF_OPTIONS=
16 HFILE_GLOB=             $(top_srcdir)/src/cpml/*.h
17 CFILE_GLOB=             $(top_srcdir)/src/cpml/*.c
18 IGNORE_HFILES=          cpml.h \
19                         cpml-internal.h \
20                         cpml-introspection.h \
21                         cpml-primitive-private.h \
22                         test-internal.h
23 HTML_IMAGES=
24 content_files=
25 expand_content_files=
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
36 # types.
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
43 scan-hook:
44         $(AM_V_at)test -f cpml.hierarchy || \
45             cp $(abs_srcdir)/cpml.hierarchy.fake cpml.hierarchy