Merge the GSettings docs
[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.xml
118
119 expand_content_files =          \
120         overview.xml            \
121         migrating.xml           \
122         gschema-compile.xml     \
123         gsettings-schema-convert.xml
124
125 extra_files =                   \
126         version.xml.in          \
127         gvfs-overview.odg
128
129 include $(top_srcdir)/gtk-doc.make
130
131 EXTRA_DIST +=                   \
132         version.xml.in
133
134 if ENABLE_MAN
135
136 man_MANS =                      \
137         gschema-compile.1       \
138         gsettings-schema-convert.1
139
140 %.1 : xml/%.xml
141         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
142
143 endif
144
145 BUILT_EXTRA_DIST = $(man_MANS)
146
147 dist-hook-local: $(BUILT_EXTRA_DIST)
148         files='$(BUILT_EXTRA_DIST)';                            \
149         for f in $$files; do                                    \
150           if test -f $$f; then d=.; else d=$(srcdir); fi;       \
151           cp $$d/$$f $(distdir) || exit 1; done
152