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