gmem: Only evaluate pointer argument to g_clear_pointer() once
[glib.git] / docs / reference / gobject / Makefile.am
blob6efe781e180c3f0479a55f3c75be141558df4f96
1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = 1.6
5 # The name of the module.
6 DOC_MODULE=gobject
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 = \
16         --rebuild-types \
17         --deprecated-guards="G_DISABLE_DEPRECATED" \
18         --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"
20 # Extra options to supply to gtkdoc-mkdb
21 MKDB_OPTIONS=--output-format=xml --name-space=g
23 # Used for dependencies
24 HFILE_GLOB=$(top_srcdir)/gobject/*.h
25 CFILE_GLOB=$(top_srcdir)/gobject/*.c
27 # Headers to ignore
28 IGNORE_HFILES = \
29         tests                   \
30         gatomicarray.h          \
31         gobject_trace.h         \
32         gtype-private.h
34 # CFLAGS and LDFLAGS for compiling scan program. Only needed
35 # if $(DOC_MODULE).types is non-empty.
36 AM_CPPFLAGS =                           \
37         -I$(srcdir)                     \
38         $(gobject_INCLUDES)             \
39         $(GLIB_DEBUG_FLAGS)
41 GTKDOC_LIBS =                                   \
42         $(top_builddir)/glib/libglib-2.0.la     \
43         $(top_builddir)/gobject/libgobject-2.0.la
45 # Images to copy into HTML directory
46 HTML_IMAGES =  \
47         images/glue.png
49 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
50 content_files = version.xml             \
51                 glib-mkenums.xml        \
52                 glib-genmarshal.xml     \
53                 gobject-query.xml \
54                 tut_gobject.xml \
55                 tut_gsignal.xml \
56                 tut_gtype.xml \
57                 tut_howto.xml \
58                 tut_intro.xml \
59                 tut_tools.xml
61 # Extra options to supply to gtkdoc-fixref
62 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html
64 include $(top_srcdir)/gtk-doc.make
66 # Other files to distribute
67 EXTRA_DIST +=           \
68         version.xml.in
70 ########################################################################
72 man_MANS =
74 if ENABLE_MAN
76 man_MANS +=                     \
77         glib-mkenums.1          \
78         glib-genmarshal.1       \
79         gobject-query.1
82 XSLTPROC_FLAGS = \
83         --nonet \
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
90 .xml.1:
91         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
93 endif
95 CLEANFILES ?=
96 CLEANFILES += $(man_MANS)
98 dist-hook-local: all-local
100 gobject-docs-clean: clean
101         cd $(srcdir) && rm -rf xml html