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 $(top_builddir)/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=--output-format=xml --name-space=g
21 # Used for dependencies
22 HFILE_GLOB=$(top_srcdir)/gobject/*.h
23 CFILE_GLOB=$(top_srcdir)/gobject/*.c
32 # CFLAGS and LDFLAGS for compiling scan program. Only needed
33 # if $(DOC_MODULE).types is non-empty.
40 $(top_builddir)/glib/libglib-2.0.la \
41 $(top_builddir)/gobject/libgobject-2.0.la
43 # Images to copy into HTML directory
47 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
48 content_files = version.xml \
59 # Extra options to supply to gtkdoc-fixref
60 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html
62 include $(top_srcdir)/gtk-doc.make
64 # Other files to distribute
69 ########################################################################
83 --stringparam man.output.quietly 1 \
84 --stringparam funcsynopsis.style ansi \
85 --stringparam man.th.extra1.suppress 1 \
86 --stringparam man.authors.section.enabled 0 \
87 --stringparam man.copyright.section.enabled 0
90 $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
95 CLEANFILES += $(man_MANS)
97 EXTRA_DIST += $(man_MANS)
99 dist-hook-local: all-local
101 gobject-docs-clean: clean
102 cd $(srcdir) && rm -rf xml html