cc970954d22929e923127ea9693e229fc7f47968
[platform/upstream/glib.git] / docs / reference / gio / Makefile.am
1 NULL =
2
3 SUBDIRS = gdbus-object-manager-example
4
5 # The name of the module.
6 DOC_MODULE=gio
7
8 # The top-level SGML file.
9 DOC_MAIN_SGML_FILE=gio-docs.xml
10
11 # Extra options to supply to gtkdoc-scan
12 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
13              --ignore-decorators="G_GNUC_WARN_UNUSED_RESULT"
14
15 # The directory containing the source code. Relative to $(srcdir)
16 DOC_SOURCE_DIR=$(top_srcdir)/gio
17
18 BUILT_HFILES=gioenumtypes.h
19 HFILE_GLOB=$(top_srcdir)/gio/*.h
20 CFILE_GLOB=$(top_srcdir)/gio/*.c
21
22 IGNORE_HFILES = \
23         fam                             \
24         fen                             \
25         gdbus-2.0                       \
26         gvdb                            \
27         inotify                         \
28         libasyncns                      \
29         tests                           \
30         win32                           \
31         xdgmime                         \
32         gapplicationimpl.h              \
33         gasynchelper.h                  \
34         gcontenttypeprivate.h           \
35         gdbusauth.h                     \
36         gdbusauthmechanismanon.h        \
37         gdbusauthmechanismexternal.h    \
38         gdbusauthmechanism.h            \
39         gdbusauthmechanismsha1.h        \
40         gdbusprivate.h                  \
41         gdelayedsettingsbackend.h       \
42         gdummyfile.h                    \
43         gdummyproxyresolver.h           \
44         gdummytlsbackend.h              \
45         gfileattribute-priv.h           \
46         gfileinfo-priv.h                \
47         giomodule-priv.h                \
48         glocaldirectorymonitor.h        \
49         glocalfileenumerator.h          \
50         glocalfile.h                    \
51         glocalfileinfo.h                \
52         glocalfileinputstream.h         \
53         glocalfileiostream.h            \
54         glocalfilemonitor.h             \
55         glocalfileoutputstream.h        \
56         glocalvfs.h                     \
57         gmountprivate.h                 \
58         gnativevolumemonitor.h          \
59         gnetworkingprivate.h            \
60         gnetworkmonitorbase.h           \
61         gnetworkmonitornetlink.h        \
62         gnotificationbackend.h          \
63         gnotification-private.h         \
64         gpollfilemonitor.h              \
65         gregistrysettingsbackend.h      \
66         gsettingsbackendinternal.h      \
67         gsettings-mapping.h             \
68         gsettingsschema-internal.h      \
69         gsocketinputstream.h            \
70         gsocketoutputstream.h           \
71         gsocks4aproxy.h                 \
72         gsocks4proxy.h                  \
73         gsocks5proxy.h                  \
74         gsubprocesslauncher-private.h   \
75         gthreadedresolver.h             \
76         gunionvolumemonitor.h           \
77         gunixmount.h                    \
78         gunixresolver.h                 \
79         gunixvolume.h                   \
80         gunixvolumemonitor.h            \
81         gwin32appinfo.h                 \
82         gwin32mount.h                   \
83         gwin32resolver.h                \
84         gwin32volumemonitor.h
85
86
87 # CFLAGS and LDFLAGS for compiling scan program. Only needed
88 # if $(DOC_MODULE).types is non-empty.
89 AM_CPPFLAGS =                           \
90         $(gio_INCLUDES)                 \
91         $(GLIB_DEBUG_FLAGS)
92
93 GTKDOC_LIBS = \
94         $(top_builddir)/glib/libglib-2.0.la             \
95         $(top_builddir)/gobject/libgobject-2.0.la       \
96         $(top_builddir)/gmodule/libgmodule-2.0.la       \
97         $(top_builddir)/gio/libgio-2.0.la               \
98         $(NULL)
99
100 # Extra options to supply to gtkdoc-mkdb
101 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
102         --ignore-files='libasyncns tests'
103
104 # Images to copy into HTML directory
105 HTML_IMAGES =                   \
106         gvfs-overview.png       \
107         menu-example.png        \
108         menu-model.png
109
110 content_files =                 \
111         version.xml             \
112         overview.xml            \
113         migrating-posix.xml     \
114         migrating-gnome-vfs.xml \
115         migrating-gconf.xml     \
116         migrating-gdbus.xml     \
117         gio-querymodules.xml    \
118         glib-compile-schemas.xml\
119         glib-compile-resources.xml      \
120         gsettings.xml           \
121         gresource.xml           \
122         gdbus.xml               \
123         gdbus-codegen.xml       \
124         $(NULL)
125
126 expand_content_files =          \
127         overview.xml            \
128         migrating-posix.xml     \
129         migrating-gnome-vfs.xml \
130         migrating-gconf.xml     \
131         migrating-gdbus.xml     \
132         gdbus-codegen.xml       \
133         $(NULL)
134
135 extra_files =                   \
136         version.xml.in          \
137         gvfs-overview.odg
138
139 # Extra options to supply to gtkdoc-fixref
140 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
141
142 include $(top_srcdir)/gtk-doc.make
143
144 EXTRA_DIST +=                   \
145         version.xml.in
146
147 man_MANS =
148
149 if ENABLE_MAN
150
151 man_MANS +=                     \
152         gapplication.1          \
153         gio-querymodules.1      \
154         glib-compile-schemas.1  \
155         glib-compile-resources.1        \
156         gsettings.1             \
157         gresource.1             \
158         gdbus.1                 \
159         gdbus-codegen.1
160
161 XSLTPROC_FLAGS = \
162         --nonet \
163         --stringparam man.output.quietly 1 \
164         --stringparam funcsynopsis.style ansi \
165         --stringparam man.th.extra1.suppress 1 \
166         --stringparam man.authors.section.enabled 0 \
167         --stringparam man.copyright.section.enabled 0
168
169 .xml.1:
170         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
171
172 endif
173
174 CLEANFILES ?=
175 CLEANFILES += $(man_MANS)
176
177 EXTRA_DIST += $(man_MANS)
178
179 dist-hook-local: all-local
180
181 gio-docs-clean: clean
182         cd $(srcdir) && rm -rf xml html