Merge branch 'g-clear-pointer-no-side-effects' into 'master'
[glib.git] / docs / reference / gio / Makefile.am
blob08093e8a09f89cf93e09947f613cf984baccc06c
1 NULL =
3 # The name of the module.
4 DOC_MODULE=gio
6 # The top-level SGML file.
7 DOC_MAIN_SGML_FILE=gio-docs.xml
9 # Extra options to supply to gtkdoc-scan
10 SCAN_OPTIONS = \
11         --rebuild-types \
12         --deprecated-guards="G_DISABLE_DEPRECATED" \
13         --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"
15 # The directory containing the source code. Relative to $(srcdir)
16 DOC_SOURCE_DIR =$(top_srcdir)/gio $(top_builddir)/gio
18 HFILE_GLOB= \
19     $(top_srcdir)/gio/*.h \
20     $(top_builddir)/gio/gioenumtypes.h
21 CFILE_GLOB=$(top_srcdir)/gio/*.c
23 IGNORE_HFILES = \
24         fam \
25         fen \
26         gdbus-2.0 \
27         gvdb \
28         inotify \
29         kqueue \
30         libasyncns \
31         tests \
32         win32 \
33         xdgmime \
34         gappinfoprivate.h \
35         gapplicationimpl.h \
36         gasynchelper.h \
37         gcontenttypeprivate.h \
38         gcontextspecificgroup.h \
39         gcredentialsprivate.h \
40         gdbus-daemon-generated.h \
41         gdbusactiongroup-private.h \
42         gdbusauth.h \
43         gdbusauthmechanismanon.h \
44         gdbusauthmechanismexternal.h \
45         gdbusauthmechanism.h \
46         gdbusauthmechanismsha1.h \
47         gdbusdaemon.h \
48         gdbusprivate.h \
49         gdelayedsettingsbackend.h \
50         gdummyfile.h \
51         gdummyproxyresolver.h \
52         gdummytlsbackend.h \
53         gfileattribute-priv.h \
54         gfileinfo-priv.h \
55         ghttpproxy.h \
56         giomodule-priv.h \
57         gioprivate.h \
58         giowin32-priv.h \
59         glocaldirectorymonitor.h \
60         glocalfileenumerator.h \
61         glocalfile.h \
62         glocalfileinfo.h \
63         glocalfileinputstream.h \
64         glocalfileiostream.h \
65         glocalfilemonitor.h \
66         glocalfileoutputstream.h \
67         glocalvfs.h \
68         gmountprivate.h \
69         gnativevolumemonitor.h \
70         gnetworkingprivate.h \
71         gnetworkmonitorbase.h \
72         gnetworkmonitornetlink.h \
73         gnetworkmonitornm.h \
74         gnetworkmonitorportal.h \
75         gnotificationbackend.h \
76         gnotification-private.h \
77         gpollfilemonitor.h \
78         gproxyresolverportal.h \
79         gregistrysettingsbackend.h \
80         gresourcefile.h \
81         gsettingsbackendinternal.h \
82         gsettings-mapping.h \
83         gsettingsschema-internal.h \
84         gsocketinputstream.h \
85         gsocketoutputstream.h \
86         gsocks4aproxy.h \
87         gsocks4proxy.h \
88         gsocks5proxy.h \
89         gsubprocesslauncher-private.h \
90         gthreadedresolver.h \
91         gunionvolumemonitor.h \
92         gunixmount.h \
93         gunixresolver.h \
94         gunixvolume.h \
95         gunixvolumemonitor.h \
96         gwin32appinfo.h \
97         gwin32mount.h \
98         gwin32registrykey.h \
99         gwin32resolver.h \
100         gwin32volumemonitor.h \
101         thumbnail-verify.h \
102         xdp-dbus.h \
103         $(NULL)
105 if OS_WIN32
106 IGNORE_HFILES += \
107         gfiledescriptorbased.h \
108         gunixconnection.h \
109         gunixcredentialsmessage.h \
110         gunixmounts.h \
111         gunixfdlist.h \
112         gunixfdmessage.h \
113         gunixinputstream.h \
114         gunixoutputstream.h \
115         gunixsocketaddress.h \
116         gdesktopappinfo.h \
117         gosxappinfo.h \
118         $(NULL)
119 else
121 if OS_COCOA
122 IGNORE_HFILES += gdesktopappinfo.h
123 else
124 IGNORE_HFILES += gosxappinfo.h
125 endif
127 IGNORE_HFILES += \
128         gwin32networkmonitor.h \
129         gwin32inputstream.h \
130         gwin32outputstream.h \
131         $(NULL)
132 endif
134 MKDB_IGNORE_FILES = \
135         gdbus-daemon-generated.c        \
136         kqueue                          \
137         libasyncns                      \
138         tests                           \
139         $(NULL)
141 # CFLAGS and LDFLAGS for compiling scan program. Only needed
142 # if $(DOC_MODULE).types is non-empty.
143 AM_CPPFLAGS =                           \
144         $(gio_INCLUDES)                 \
145         $(GLIB_DEBUG_FLAGS)
147 GTKDOC_LIBS = \
148         $(top_builddir)/glib/libglib-2.0.la             \
149         $(top_builddir)/gobject/libgobject-2.0.la       \
150         $(top_builddir)/gmodule/libgmodule-2.0.la       \
151         $(top_builddir)/gio/libgio-2.0.la               \
152         $(NULL)
154 # Extra options to supply to gtkdoc-mkdb
155 MKDB_OPTIONS = --output-format=xml --name-space=g \
156         --ignore-files='$(MKDB_IGNORE_FILES)'
158 # Images to copy into HTML directory
159 HTML_IMAGES =                   \
160         gvfs-overview.png       \
161         menu-example.png        \
162         menu-model.png
164 content_files =                 \
165         version.xml             \
166         overview.xml            \
167         migrating-posix.xml     \
168         migrating-gnome-vfs.xml \
169         migrating-gconf.xml     \
170         migrating-gdbus.xml     \
171         gio-querymodules.xml    \
172         glib-compile-schemas.xml\
173         glib-compile-resources.xml      \
174         gapplication.xml        \
175         gsettings.xml           \
176         gresource.xml           \
177         gdbus.xml               \
178         gdbus-codegen.xml       \
179         gio.xml                 \
180         $(NULL)
182 expand_content_files =          \
183         overview.xml            \
184         migrating-posix.xml     \
185         migrating-gnome-vfs.xml \
186         migrating-gconf.xml     \
187         migrating-gdbus.xml     \
188         gdbus-codegen.xml       \
189         $(NULL)
191 extra_files =                   \
192         version.xml.in          \
193         gvfs-overview.odg
195 # Extra options to supply to gtkdoc-fixref
196 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
198 include $(top_srcdir)/gtk-doc.make
200 EXTRA_DIST +=                   \
201         version.xml.in
203 man_MANS =
205 if ENABLE_MAN
207 man_MANS +=                             \
208         gapplication.1                  \
209         gio-querymodules.1              \
210         glib-compile-schemas.1          \
211         glib-compile-resources.1        \
212         gsettings.1                     \
213         gresource.1                     \
214         gdbus.1                         \
215         gdbus-codegen.1                 \
216         gio.1                           \
217         $(NULL)
219 XSLTPROC_FLAGS = \
220         --nonet \
221         --stringparam man.output.quietly 1 \
222         --stringparam funcsynopsis.style ansi \
223         --stringparam man.th.extra1.suppress 1 \
224         --stringparam man.authors.section.enabled 0 \
225         --stringparam man.copyright.section.enabled 0
227 .xml.1:
228         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
230 endif
232 CLEANFILES ?=
233 CLEANFILES += $(man_MANS)
235 dist-hook-local: all-local
237 gio-docs-clean: clean
238         cd $(srcdir) && rm -rf xml html