Add some more cases to the app-id unit tests
[glib.git] / docs / reference / gobject / Makefile.am
blob50b239ba3557665e3fb7cc6dcf455e7ef20a6b35
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=--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
25 # Headers to ignore
26 IGNORE_HFILES = \
27         tests                   \
28         gatomicarray.h          \
29         gobject_trace.h         \
30         gtype-private.h
32 # CFLAGS and LDFLAGS for compiling scan program. Only needed
33 # if $(DOC_MODULE).types is non-empty.
34 AM_CPPFLAGS =                           \
35         -I$(srcdir)                     \
36         $(gobject_INCLUDES)             \
37         $(GLIB_DEBUG_FLAGS)
39 GTKDOC_LIBS =                                   \
40         $(top_builddir)/glib/libglib-2.0.la     \
41         $(top_builddir)/gobject/libgobject-2.0.la
43 # Images to copy into HTML directory
44 HTML_IMAGES =  \
45         images/glue.png
47 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
48 content_files = version.xml             \
49                 glib-mkenums.xml        \
50                 glib-genmarshal.xml     \
51                 gobject-query.xml \
52                 tut_gobject.xml \
53                 tut_gsignal.xml \
54                 tut_gtype.xml \
55                 tut_howto.xml \
56                 tut_intro.xml \
57                 tut_tools.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
65 EXTRA_DIST +=           \
66         gobject.cI      \
67         version.xml.in
69 ########################################################################
71 man_MANS =
73 if ENABLE_MAN
75 man_MANS +=                     \
76         glib-mkenums.1          \
77         glib-genmarshal.1       \
78         gobject-query.1
81 XSLTPROC_FLAGS = \
82         --nonet \
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
89 .xml.1:
90         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
92 endif
94 CLEANFILES ?=
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