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