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