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=gobject-docs.xml
11 # The directory containing the source code. Relative to $(srcdir)
12 DOC_SOURCE_DIR=$(top_srcdir)/gobject
14 # Extra options to supply to gtkdoc-scan
15 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
16 --ignore-decorators="G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT"
18 # Extra options to supply to gtkdoc-mkdb
19 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
21 # Used for dependencies
22 HFILE_GLOB=$(top_srcdir)/gobject/*.h
23 CFILE_GLOB=$(top_srcdir)/gobject/*.c
33 # CFLAGS and LDFLAGS for compiling scan program. Only needed
34 # if $(DOC_MODULE).types is non-empty.
41 $(top_builddir)/glib/libglib-2.0.la \
42 $(top_builddir)/gobject/libgobject-2.0.la
44 # Images to copy into HTML directory
48 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
49 content_files = version.xml \
60 # Extra options to supply to gtkdoc-fixref
61 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html
63 include $(top_srcdir)/gtk-doc.make
65 # Other files to distribute
70 ########################################################################
84 --stringparam man.output.quietly 1 \
85 --stringparam funcsynopsis.style ansi \
86 --stringparam man.th.extra1.suppress 1 \
87 --stringparam man.authors.section.enabled 0 \
88 --stringparam man.copyright.section.enabled 0
91 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
96 CLEANFILES += $(man_MANS)
98 EXTRA_DIST += $(man_MANS)
100 dist-hook-local: all-local
102 gobject-docs-clean: clean
103 cd $(srcdir) && rm -rf xml html