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)
13 $(top_srcdir)/glib $(top_srcdir)/gmodule \
14 $(top_builddir)/glib $(top_builddir)/gmodule
16 # Extra options to supply to gtkdoc-scan
17 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT"
19 # Extra options to supply to gtkdoc-mkdb
20 MKDB_OPTIONS=--output-format=xml --name-space=g
22 # Used for dependencies
24 $(top_srcdir)/glib/*.h \
25 $(top_srcdir)/gmodule/*.h \
26 $(top_builddir)/glib/glibconfig.h
27 CFILE_GLOB= $(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
29 # Ignore some private headers
55 gvariant-serialiser.h \
64 # Images to copy into HTML directory
66 file-name-encodings.png \
68 Sorted_binary_tree_breadth-first_traversal.svg \
69 Sorted_binary_tree_inorder.svg \
70 Sorted_binary_tree_postorder.svg \
71 Sorted_binary_tree_preorder.svg
73 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
87 gvariant-varargs.xml \
90 expand_content_files = \
93 # Extra options to supply to gtkdoc-fixref
94 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
96 # include common portion ...
97 include $(top_srcdir)/gtk-doc.make
99 # Other files to distribute
101 file-name-encodings.png \
102 file-name-encodings.sxd \
103 mainloop-states.fig \
104 mainloop-states.png \
105 mainloop-states.eps \
106 Sorted_binary_tree_breadth-first_traversal.svg \
107 Sorted_binary_tree_inorder.svg \
108 Sorted_binary_tree_postorder.svg \
109 Sorted_binary_tree_preorder.svg \
112 ########################################################################
125 --stringparam man.output.quietly 1 \
126 --stringparam funcsynopsis.style ansi \
127 --stringparam man.th.extra1.suppress 1 \
128 --stringparam man.authors.section.enabled 0 \
129 --stringparam man.copyright.section.enabled 0
132 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
137 CLEANFILES += $(man_MANS)
139 EXTRA_DIST += $(man_MANS)
141 dist-hook-local: all-local
143 glib-docs-clean: clean
144 cd $(srcdir) && rm -rf xml html