Merge branch 'test-ip_mreq_source-android-only' into 'master'
[glib.git] / docs / reference / glib / Makefile.am
blobdfefa25ff31aa5a40e561ad5180f7130b5c4d006
1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = 1.6
5 # The name of the module.
6 DOC_MODULE=glib
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 = \
13     $(top_srcdir)/glib $(top_srcdir)/gmodule \
14     $(top_builddir)/glib $(top_builddir)/gmodule
16 # Extra options to supply to gtkdoc-scan
17 SCAN_OPTIONS = \
18         --deprecated-guards="G_DISABLE_DEPRECATED" \
19         --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"
21 # Extra options to supply to gtkdoc-mkdb
22 MKDB_OPTIONS=--output-format=xml --name-space=g
24 # Used for dependencies
25 HFILE_GLOB = \
26     $(top_srcdir)/glib/*.h \
27     $(top_srcdir)/gmodule/*.h \
28     $(top_builddir)/glib/glibconfig.h
29 CFILE_GLOB= $(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
31 # Ignore some private headers
32 IGNORE_HFILES = \
33         gallocator.h            \
34         gdatasetprivate.h       \
35         glibintl.h              \
36         gbsearcharray.h         \
37         glib-private.h          \
38         gmoduleconf.h           \
39         gthreadprivate.h        \
40         gunibreak.h             \
41         gunicomp.h              \
42         gunidecomp.h            \
43         gunichartables.h        \
44         glib_probes.h           \
45         glib_trace.h            \
46         libcharset.h            \
47         gdebug.h                \
48         gprintfint.h            \
49         gmirroringtable.h       \
50         gscripttable.h          \
51         glib-mirroring-tab      \
52         gnulib                  \
53         pcre                    \
54         update-pcre             \
55         gbytesprivate.h         \
56         gvariant-internal.h     \
57         gvariant-serialiser.h   \
58         gvariant-core.h         \
59         gvarianttypeinfo.h      \
60         gwakeup.h               \
61         gtranslit-data.h        \
62         glib-init.h             \
63         gconstructor.h          \
64         valgrind.h              \
65         gvalgrind.h             \
66         $(NULL)
68 # Images to copy into HTML directory
69 HTML_IMAGES =                                           \
70         file-name-encodings.png                         \
71         mainloop-states.gif                             \
72         Sorted_binary_tree_breadth-first_traversal.svg  \
73         Sorted_binary_tree_inorder.svg                  \
74         Sorted_binary_tree_postorder.svg                \
75         Sorted_binary_tree_preorder.svg
77 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
78 content_files =                         \
79         cross.xml                       \
80         running.xml                     \
81         building.xml                    \
82         changes.xml                     \
83         compiling.xml                   \
84         programming.xml                 \
85         resources.xml                   \
86         regex-syntax.xml                \
87         version.xml                     \
88         glib-gettextize.xml             \
89         gtester.xml                     \
90         gtester-report.xml              \
91         gvariant-varargs.xml            \
92         gvariant-text.xml
94 expand_content_files =                  \
95         compiling.xml
97 # Extra options to supply to gtkdoc-fixref
98 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
100 # include common portion ...
101 include $(top_srcdir)/gtk-doc.make
103 # Other files to distribute
104 EXTRA_DIST +=                           \
105         file-name-encodings.png         \
106         file-name-encodings.sxd         \
107         mainloop-states.fig             \
108         mainloop-states.png             \
109         mainloop-states.eps             \
110         Sorted_binary_tree_breadth-first_traversal.svg  \
111         Sorted_binary_tree_inorder.svg                  \
112         Sorted_binary_tree_postorder.svg                \
113         Sorted_binary_tree_preorder.svg                 \
114         version.xml.in
116 ########################################################################
118 man_MANS =
120 if ENABLE_MAN
122 man_MANS += \
123         glib-gettextize.1       \
124         gtester.1               \
125         gtester-report.1
127 XSLTPROC_FLAGS = \
128         --nonet \
129         --stringparam man.output.quietly 1 \
130         --stringparam funcsynopsis.style ansi \
131         --stringparam man.th.extra1.suppress 1 \
132         --stringparam man.authors.section.enabled 0 \
133         --stringparam man.copyright.section.enabled 0
135 .xml.1:
136         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
138 endif
140 CLEANFILES ?=
141 CLEANFILES += $(man_MANS)
143 dist-hook-local: all-local
145 glib-docs-clean: clean
146         cd $(srcdir) && rm -rf xml html