Ignore some more private headers
[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         gdummyproxyresolver.h           \
40         testenums.h                     \
41         gdelayedsettingsbackend.h       \
42         gdummyfile.h                    \
43         gfamdirectorymonitor.h          \
44         gfamfilemonitor.h               \
45         gfendirectorymonitor.h          \
46         gfenfilemonitor.h               \
47         gfileattribute-priv.h           \
48         gfileinfo-priv.h                \
49         ginotifydirectorymonitor.h      \
50         ginotifyfilemonitor.h           \
51         gio-marshal.h                   \
52         gio.h                           \
53         gkeyfilesettingsbackend.h       \
54         gioenumtypes.h                  \
55         giomodule-priv.h                \
56         glocaldirectorymonitor.h        \
57         glocalfile.h                    \
58         glocalfileenumerator.h          \
59         glocalfileinfo.h                \
60         glocalfileinputstream.h         \
61         glocalfileiostream.h            \
62         glocalfilemonitor.h             \
63         glocalfileoutputstream.h        \
64         glocalvfs.h                     \
65         gmemorysettingsbackend.h        \
66         gmountprivate.h                 \
67         gnativevolumemonitor.h          \
68         gnetworkingprivate.h            \
69         gnullsettingsbackend.h          \
70         gpollfilemonitor.h              \
71         gproxyconnection.h              \
72         gsettingsbackendinternal.h      \
73         gsettingsschema.h               \
74         gsettings-mapping.h             \
75         gsocketinputstream.h            \
76         gsocketoutputstream.h           \
77         gthreadedresolver.h             \
78         gunionvolumemonitor.h           \
79         gunixdrive.h                    \
80         gunixmount.h                    \
81         gunixvolumemonitor.h            \
82         gunixresolver.h                 \
83         gunixvolume.h                   \
84         gvdb-builder.h                  \
85         gvdb-format.h                   \
86         gvdb-render.h                   \
87         gvolumeprivate.h                \
88         gwin32appinfo.h                 \
89         gwin32mount.h                   \
90         gwin32directorymonitor.h        \
91         gwin32inputstream.h             \
92         gwin32outputstream.h            \
93         gwin32volumemonitor.h           \
94         gwin32resolver.h                \
95         gwinhttpfile.h                  \
96         gwinhttpfileinputstream.h       \
97         gwinhttpfileoutputstream.h      \
98         gwinhttpvfs.h                   \
99         inotify-diag.h                  \
100         inotify-helper.h                \
101         inotify-kernel.h                \
102         inotify-missing.h               \
103         inotify-path.h                  \
104         inotify-sub.h                   \
105         local_inotify.h                 \
106         local_inotify_syscalls.h        \
107         xdgmime.h                       \
108         xdgmimealias.h                  \
109         xdgmimecache.h                  \
110         xdgmimeglob.h                   \
111         xdgmimeint.h                    \
112         xdgmimemagic.h                  \
113         xdgmimeparent.h                 \
114         xdgmimeicon.h                   \
115         winhttp.h                       \
116         $(NULL)
117
118 # CFLAGS and LDFLAGS for compiling scan program. Only needed
119 # if $(DOC_MODULE).types is non-empty.
120 INCLUDES = \
121         $(gio_INCLUDES)                 \
122         $(GLIB_DEBUG_FLAGS)
123
124 GTKDOC_LIBS = \
125         $(top_builddir)/glib/libglib-2.0.la             \
126         $(top_builddir)/gobject/libgobject-2.0.la       \
127         $(top_builddir)/gmodule/libgmodule-2.0.la       \
128         $(top_builddir)/gio/libgio-2.0.la               \
129         $(NULL)
130
131 # Extra options to supply to gtkdoc-mkdb
132 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
133         --ignore-files=libasyncns
134
135 # Images to copy into HTML directory
136 HTML_IMAGES =                   \
137         gvfs-overview.png
138
139 content_files =                 \
140         version.xml             \
141         overview.xml            \
142         migrating-posix.xml     \
143         migrating-gnome-vfs.xml \
144         migrating-gconf.xml     \
145         migrating-gdbus.xml     \
146         gio-querymodules.xml    \
147         glib-compile-schemas.xml\
148         gsettings.xml           \
149         gdbus.xml               \
150         $(NULL)
151
152 expand_content_files =          \
153         overview.xml            \
154         migrating-posix.xml     \
155         migrating-gnome-vfs.xml \
156         migrating-gconf.xml     \
157         migrating-gdbus.xml
158
159 extra_files =                   \
160         version.xml.in          \
161         gvfs-overview.odg
162
163 include $(top_srcdir)/gtk-doc.make
164
165 EXTRA_DIST +=                   \
166         version.xml.in
167
168 man_MANS =                      \
169         gio-querymodules.1      \
170         glib-compile-schemas.1  \
171         gsettings.1     \
172         gdbus.1
173
174 if ENABLE_MAN
175
176 .xml.1:
177         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
178
179 dist-local-check-mans-enabled:
180         if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
181
182 else
183
184 $(man_MANS):
185         echo Man generation disabled.  Creating dummy $@.  Configure with --enable-man to enable it.
186         echo Man generation disabled.  Remove this file, configure with --enable-man, and rebuild > $@
187
188 dist-local-check-mans-enabled:
189         echo "*** --enable-man must be used in order to make dist"
190         false
191
192 endif
193
194 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
195
196 EXTRA_DIST += $(man_MANS)
197
198 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
199
200 gio-docs-clean: clean
201         cd $(srcdir) && rm -rf xml html