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
18 --deprecated-guards="G_DISABLE_DEPRECATED" \
19 --ignore-decorators="GLIB_VAR|G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT|GLIB_AVAILABLE_IN_ALL|GLIB_AVAILABLE_IN_2_26|GLIB_AVAILABLE_IN_2_28|GLIB_AVAILABLE_IN_2_30|GLIB_AVAILABLE_IN_2_32|GLIB_AVAILABLE_IN_2_34|GLIB_AVAILABLE_IN_2_36|GLIB_AVAILABLE_IN_2_38|GLIB_AVAILABLE_IN_2_40|GLIB_AVAILABLE_IN_2_42|GLIB_AVAILABLE_IN_2_44|GLIB_AVAILABLE_IN_2_46|GLIB_AVAILABLE_IN_2_48|GLIB_AVAILABLE_IN_2_50|GLIB_AVAILABLE_IN_2_52|GLIB_AVAILABLE_IN_2_54|GLIB_AVAILABLE_IN_2_56|GLIB_DEPRECATED_IN_2_26|GLIB_DEPRECATED_IN_2_26_FOR|GLIB_DEPRECATED_IN_2_28|GLIB_DEPRECATED_IN_2_28_FOR|GLIB_DEPRECATED_IN_2_30|GLIB_DEPRECATED_IN_2_30_FOR|GLIB_DEPRECATED_IN_2_32|GLIB_DEPRECATED_IN_2_32_FOR|GLIB_DEPRECATED_IN_2_34|GLIB_DEPRECATED_IN_2_34_FOR|GLIB_DEPRECATED_IN_2_36|GLIB_DEPRECATED_IN_2_36_FOR|GLIB_DEPRECATED_IN_2_38|GLIB_DEPRECATED_IN_2_38_FOR|GLIB_DEPRECATED_IN_2_40|GLIB_DEPRECATED_IN_2_40_FOR|GLIB_DEPRECATED_IN_2_42|GLIB_DEPRECATED_IN_2_42_FOR|GLIB_DEPRECATED_IN_2_44|GLIB_DEPRECATED_IN_2_44_FOR|GLIB_DEPRECATED_IN_2_46|GLIB_DEPRECATED_IN_2_46_FOR|GLIB_DEPRECATED_IN_2_48|GLIB_DEPRECATED_IN_2_48_FOR|GLIB_DEPRECATED_IN_2_50|GLIB_DEPRECATED_IN_2_50_FOR|GLIB_DEPRECATED_IN_2_52|GLIB_DEPRECATED_IN_2_52_FOR|GLIB_DEPRECATED_IN_2_54|GLIB_DEPRECATED_IN_2_54_FOR|GLIB_DEPRECATED_IN_2_56|GLIB_DEPRECATED_IN_2_56_FOR"
21 # Extra options to supply to gtkdoc-mkdb
22 MKDB_OPTIONS=--output-format=xml --name-space=g
24 # Used for dependencies
26 $(top_srcdir)/glib/*.h \
27 $(top_srcdir)/gmodule/*.h \
28 $(top_builddir)/glib/glibconfig.h
29 CFILE_GLOB= $(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
31 # Ignore some private headers
57 gvariant-serialiser.h \
68 # Images to copy into HTML directory
70 file-name-encodings.png \
72 Sorted_binary_tree_breadth-first_traversal.svg \
73 Sorted_binary_tree_inorder.svg \
74 Sorted_binary_tree_postorder.svg \
75 Sorted_binary_tree_preorder.svg
77 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
91 gvariant-varargs.xml \
94 expand_content_files = \
97 # Extra options to supply to gtkdoc-fixref
98 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
100 # include common portion ...
101 include $(top_srcdir)/gtk-doc.make
103 # Other files to distribute
105 file-name-encodings.png \
106 file-name-encodings.sxd \
107 mainloop-states.fig \
108 mainloop-states.png \
109 mainloop-states.eps \
110 Sorted_binary_tree_breadth-first_traversal.svg \
111 Sorted_binary_tree_inorder.svg \
112 Sorted_binary_tree_postorder.svg \
113 Sorted_binary_tree_preorder.svg \
116 ########################################################################
129 --stringparam man.output.quietly 1 \
130 --stringparam funcsynopsis.style ansi \
131 --stringparam man.th.extra1.suppress 1 \
132 --stringparam man.authors.section.enabled 0 \
133 --stringparam man.copyright.section.enabled 0
136 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
141 CLEANFILES += $(man_MANS)
143 dist-hook-local: all-local
145 glib-docs-clean: clean
146 cd $(srcdir) && rm -rf xml html