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=--sgml-mode --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 \
60 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
74 gvariant-varargs.xml \
77 expand_content_files = \
80 # Extra options to supply to gtkdoc-fixref
81 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
83 # include common portion ...
84 include $(top_srcdir)/gtk-doc.make
86 # Other files to distribute
88 file-name-encodings.png \
89 file-name-encodings.sxd \
95 ########################################################################
108 --stringparam man.output.quietly 1 \
109 --stringparam funcsynopsis.style ansi \
110 --stringparam man.th.extra1.suppress 1 \
111 --stringparam man.authors.section.enabled 0 \
112 --stringparam man.copyright.section.enabled 0
115 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
120 CLEANFILES += $(man_MANS)
122 EXTRA_DIST += $(man_MANS)
124 dist-hook-local: all-local
126 glib-docs-clean: clean
127 cd $(srcdir) && rm -rf xml html