Remove GUnixVolumeMonitor, GUnixMount from docs
[platform/upstream/glib.git] / docs / reference / gio / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2 NULL =
3
4 # The name of the module.
5 DOC_MODULE=gio
6
7 # The top-level SGML file.
8 DOC_MAIN_SGML_FILE=gio-docs.xml
9
10 # Extra options to supply to gtkdoc-scan
11 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
12
13 # The directory containing the source code. Relative to $(srcdir)
14 DOC_SOURCE_DIR=$(top_srcdir)/gio
15
16 HFILE_GLOB=$(top_srcdir)/gio/*.h
17 CFILE_GLOB=$(top_srcdir)/gio/*.c
18
19 # Headers to ignore
20 IGNORE_HFILES=                          \
21         gvdb                            \
22         tests                           \
23         asyncns.h                       \
24         fam-helper.h                    \
25         fen-data.h                      \
26         fen-helper.h                    \
27         fen-kernel.h                    \
28         fen-node.h                      \
29         gasynchelper.h                  \
30         gcontenttypeprivate.h           \
31         gdbusauth.h                     \
32         gdbusauthmechanism.h            \
33         gdbusauthmechanismanon.h        \
34         gdbusauthmechanismexternal.h    \
35         gdbusauthmechanismsha1.h        \
36         gdbusprivate.h                  \
37         gdbus-sessionbus.h              \
38         gdbus-tests.h                   \
39         testenums.h                     \
40         gdelayedsettingsbackend.h       \
41         gdummyfile.h                    \
42         gfamdirectorymonitor.h          \
43         gfamfilemonitor.h               \
44         gfendirectorymonitor.h          \
45         gfenfilemonitor.h               \
46         gfileattribute-priv.h           \
47         gfileinfo-priv.h                \
48         ginotifydirectorymonitor.h      \
49         ginotifyfilemonitor.h           \
50         gio-marshal.h                   \
51         gio.h                           \
52         gkeyfilesettingsbackend.h       \
53         gioenumtypes.h                  \
54         giomodule-priv.h                \
55         glocaldirectorymonitor.h        \
56         glocalfile.h                    \
57         glocalfileenumerator.h          \
58         glocalfileinfo.h                \
59         glocalfileinputstream.h         \
60         glocalfileiostream.h            \
61         glocalfilemonitor.h             \
62         glocalfileoutputstream.h        \
63         glocalvfs.h                     \
64         gmemorysettingsbackend.h        \
65         gmountprivate.h                 \
66         gnativevolumemonitor.h          \
67         gnetworkingprivate.h            \
68         gnullsettingsbackend.h          \
69         gpollfilemonitor.h              \
70         gsettingsbackendinternal.h      \
71         gsettingsschema.h               \
72         gsettings-mapping.h             \
73         gsocketinputstream.h            \
74         gsocketoutputstream.h           \
75         gthreadedresolver.h             \
76         gunionvolumemonitor.h           \
77         gunixdrive.h                    \
78         gunixmount.h                    \
79         gunixvolumemonitor.h            \
80         gunixresolver.h                 \
81         gunixvolume.h                   \
82         gvdb-builder.h                  \
83         gvdb-format.h                   \
84         gvdb-render.h                   \
85         gvolumeprivate.h                \
86         gwin32appinfo.h                 \
87         gwin32mount.h                   \
88         gwin32directorymonitor.h        \
89         gwin32inputstream.h             \
90         gwin32outputstream.h            \
91         gwin32volumemonitor.h           \
92         gwin32resolver.h                \
93         gwinhttpfile.h                  \
94         gwinhttpfileinputstream.h       \
95         gwinhttpfileoutputstream.h      \
96         gwinhttpvfs.h                   \
97         inotify-diag.h                  \
98         inotify-helper.h                \
99         inotify-kernel.h                \
100         inotify-missing.h               \
101         inotify-path.h                  \
102         inotify-sub.h                   \
103         local_inotify.h                 \
104         local_inotify_syscalls.h        \
105         xdgmime.h                       \
106         xdgmimealias.h                  \
107         xdgmimecache.h                  \
108         xdgmimeglob.h                   \
109         xdgmimeint.h                    \
110         xdgmimemagic.h                  \
111         xdgmimeparent.h                 \
112         xdgmimeicon.h                   \
113         winhttp.h                       \
114         $(NULL)
115
116 # CFLAGS and LDFLAGS for compiling scan program. Only needed
117 # if $(DOC_MODULE).types is non-empty.
118 INCLUDES = \
119         -I$(srcdir)                     \
120         -I$(top_srcdir)                 \
121         -I$(top_srcdir)/glib            \
122         -I$(top_srcdir)/gobject         \
123         -I$(top_srcdir)/gio             \
124         -I$(top_builddir)               \
125         -I$(top_builddir)/glib          \
126         -I$(top_builddir)/gobject       \
127         -I$(top_builddir)/gio           \
128         $(GLIB_DEBUG_FLAGS)
129
130 GTKDOC_LIBS = \
131         $(top_builddir)/glib/libglib-2.0.la             \
132         $(top_builddir)/gobject/libgobject-2.0.la       \
133         $(top_builddir)/gmodule/libgmodule-2.0.la       \
134         $(top_builddir)/gio/libgio-2.0.la               \
135         $(NULL)
136
137 # Extra options to supply to gtkdoc-mkdb
138 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
139         --ignore-files=libasyncns
140
141 # Images to copy into HTML directory
142 HTML_IMAGES =                   \
143         gvfs-overview.png
144
145 content_files =                 \
146         version.xml             \
147         overview.xml            \
148         migrating-posix.xml     \
149         migrating-gnome-vfs.xml \
150         migrating-gconf.xml     \
151         migrating-gdbus.xml     \
152         gio-querymodules.xml    \
153         glib-compile-schemas.xml\
154         gsettings.xml           \
155         gdbus.xml               \
156         $(NULL)
157
158 expand_content_files =          \
159         overview.xml            \
160         migrating-posix.xml     \
161         migrating-gnome-vfs.xml \
162         migrating-gconf.xml     \
163         migrating-gdbus.xml
164
165 extra_files =                   \
166         version.xml.in          \
167         gvfs-overview.odg
168
169 include $(top_srcdir)/gtk-doc.make
170
171 EXTRA_DIST +=                   \
172         version.xml.in
173
174 man_MANS =                      \
175         gio-querymodules.1      \
176         glib-compile-schemas.1  \
177         gsettings.1     \
178         gdbus.1
179
180 if ENABLE_MAN
181
182 .xml.1:
183         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
184
185 dist-local-check-mans-enabled:
186         if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
187
188 else
189
190 $(man_MANS):
191         echo Man generation disabled.  Creating dummy $@.  Configure with --enable-man to enable it.
192         echo Man generation disabled.  Remove this file, configure with --enable-man, and rebuild > $@
193
194 dist-local-check-mans-enabled:
195         echo "*** --enable-man must be used in order to make dist"
196         false
197
198 endif
199
200 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
201
202 EXTRA_DIST += $(man_MANS)
203
204 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
205
206 gio-docs-clean: clean
207         cd $(srcdir) && rm -rf xml html