1 ## Process this file with automake to produce Makefile.in
5 # The name of the module.
8 # The top-level SGML file.
9 DOC_MAIN_SGML_FILE=glib-docs.xml
11 # The directory containing the source code. Relative to $(srcdir)
12 DOC_SOURCE_DIR=$(top_srcdir)/glib $(top_srcdir)/gmodule
14 # Extra options to supply to gtkdoc-scan
15 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT"
17 # Extra options to supply to gtkdoc-mkdb
18 MKDB_OPTIONS=--output-format=xml --name-space=g
20 # Used for dependencies
21 HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h
22 CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
24 # Ignore some private headers
50 gvariant-serialiser.h \
55 # Images to copy into HTML directory
57 file-name-encodings.png \
59 Sorted_binary_tree_breadth-first_traversal.svg \
60 Sorted_binary_tree_inorder.svg \
61 Sorted_binary_tree_postorder.svg \
62 Sorted_binary_tree_preorder.svg
64 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
78 gvariant-varargs.xml \
81 expand_content_files = \
84 # Extra options to supply to gtkdoc-fixref
85 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
87 # include common portion ...
88 include $(top_srcdir)/gtk-doc.make
90 # Other files to distribute
92 file-name-encodings.png \
93 file-name-encodings.sxd \
97 Sorted_binary_tree_breadth-first_traversal.svg \
98 Sorted_binary_tree_inorder.svg \
99 Sorted_binary_tree_postorder.svg \
100 Sorted_binary_tree_preorder.svg \
103 ########################################################################
116 --stringparam man.output.quietly 1 \
117 --stringparam funcsynopsis.style ansi \
118 --stringparam man.th.extra1.suppress 1 \
119 --stringparam man.authors.section.enabled 0 \
120 --stringparam man.copyright.section.enabled 0
123 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
128 CLEANFILES += $(man_MANS)
130 EXTRA_DIST += $(man_MANS)
132 dist-hook-local: all-local
134 glib-docs-clean: clean
135 cd $(srcdir) && rm -rf xml html