Add a migration chapter for dbus bits
[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         asyncns.h                       \
22         fam-helper.h                    \
23         fen-data.h                      \
24         fen-helper.h                    \
25         fen-kernel.h                    \
26         fen-node.h                      \
27         gasynchelper.h                  \
28         gcontenttypeprivate.h           \
29         gdelayedsettingsbackend.h       \
30         gdummyfile.h                    \
31         gfamdirectorymonitor.h          \
32         gfamfilemonitor.h               \
33         gfileattribute-priv.h           \
34         gfileinfo-priv.h                \
35         ginotifydirectorymonitor.h      \
36         ginotifyfilemonitor.h           \
37         gio-marshal.h                   \
38         gio.h                           \
39         gioalias.h                      \
40         gioalias.h                      \
41         gkeyfilesettingsbackend.h       \
42         gioenumtypes.h                  \
43         giomodule-priv.h                \
44         glocaldirectorymonitor.h        \
45         glocalfile.h                    \
46         glocalfileenumerator.h          \
47         glocalfileinfo.h                \
48         glocalfileinputstream.h         \
49         glocalfilemonitor.h             \
50         glocalfileoutputstream.h        \
51         glocalvfs.h                     \
52         gnativevolumemonitor.h          \
53         gnetworkingprivate.h            \
54         gnullsettingsbackend.h          \
55         gpollfilemonitor.h              \
56         gsettingsbackendinternal.h      \
57         gsettingsschema.h               \
58         gthreadedresolver.h             \
59         gunionvolumemonitor.h           \
60         gunixdrive.h                    \
61         gunixresolver.h                 \
62         gunixvolume.h                   \
63         gvolumeprivate.h                \
64         gwin32appinfo.h                 \
65         gwin32resolver.h                \
66         inotify-diag.h                  \
67         inotify-helper.h                \
68         inotify-kernel.h                \
69         inotify-missing.h               \
70         inotify-path.h                  \
71         inotify-sub.h                   \
72         local_inotify.h                 \
73         local_inotify_syscalls.h        \
74         xdgmime.h                       \
75         xdgmimealias.h                  \
76         xdgmimecache.h                  \
77         xdgmimeglob.h                   \
78         xdgmimeint.h                    \
79         xdgmimemagic.h                  \
80         xdgmimeparent.h                 \
81         xdgmimeicon.h                   \
82         winhttp.h                       \
83         $(NULL)
84
85 # CFLAGS and LDFLAGS for compiling scan program. Only needed
86 # if $(DOC_MODULE).types is non-empty.
87 INCLUDES = \
88         -I$(srcdir)                     \
89         -I$(top_srcdir)                 \
90         -I$(top_srcdir)/glib            \
91         -I$(top_srcdir)/gobject         \
92         -I$(top_srcdir)/gio             \
93         -I$(top_builddir)               \
94         -I$(top_builddir)/glib          \
95         -I$(top_builddir)/gobject       \
96         -I$(top_builddir)/gio           \
97         $(GLIB_DEBUG_FLAGS)
98
99 GTKDOC_LIBS = \
100         $(top_builddir)/glib/libglib-2.0.la             \
101         $(top_builddir)/gobject/libgobject-2.0.la       \
102         $(top_builddir)/gmodule/libgmodule-2.0.la       \
103         $(top_builddir)/gio/libgio-2.0.la               \
104         $(NULL)
105
106 # Extra options to supply to gtkdoc-mkdb
107 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
108         --ignore-files=libasyncns
109
110 # Images to copy into HTML directory
111 HTML_IMAGES =                   \
112         gvfs-overview.png
113
114 content_files =                 \
115         version.xml             \
116         overview.xml            \
117         migrating-posix.xml     \
118         migrating-gnome-vfs.xml \
119         migrating-gconf.xml     \
120         migrating-dbus-glib.xml \
121         gio-querymodules.xml    \
122         glib-compile-schemas.xml\
123         gsettings.xml           \
124         gsettings-schema-convert.xml
125
126 expand_content_files =          \
127         overview.xml            \
128         migrating-posix.xml     \
129         migrating-gnome-vfs.xml \
130         migrating-gconf.xml     \
131         migrating-dbus-glib.xml
132
133 extra_files =                   \
134         version.xml.in          \
135         gvfs-overview.odg
136
137 include $(top_srcdir)/gtk-doc.make
138
139 EXTRA_DIST +=                   \
140         version.xml.in
141
142 man_MANS =                      \
143         gio-querymodules.1      \
144         glib-compile-schemas.1  \
145         gsettings.1     \
146         gsettings-schema-convert.1
147
148 if ENABLE_MAN
149
150 .xml.1:
151         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
152
153 dist-local-check-mans-enabled:
154         if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
155
156 else
157
158 $(man_MANS):
159         echo Man generation disabled.  Creating dummy $@.  Configure with --enable-man to enable it.
160         echo Man generation disabled.  Remove this file, configure with --enable-man, and rebuild Pango > $@
161
162 dist-local-check-mans-enabled:
163         echo "*** --enable-man must be used in order to make dist"
164         false
165
166 endif
167
168 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
169
170 EXTRA_DIST += $(man_MANS)
171
172 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
173
174 gio-docs-clean: clean
175         cd $(srcdir) && rm -rf xml html