GApplication: parse command line options
[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         thumbnail-verify.h
86
87
88 # CFLAGS and LDFLAGS for compiling scan program. Only needed
89 # if $(DOC_MODULE).types is non-empty.
90 AM_CPPFLAGS =                           \
91         $(gio_INCLUDES)                 \
92         $(GLIB_DEBUG_FLAGS)
93
94 GTKDOC_LIBS = \
95         $(top_builddir)/glib/libglib-2.0.la             \
96         $(top_builddir)/gobject/libgobject-2.0.la       \
97         $(top_builddir)/gmodule/libgmodule-2.0.la       \
98         $(top_builddir)/gio/libgio-2.0.la               \
99         $(NULL)
100
101 # Extra options to supply to gtkdoc-mkdb
102 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
103         --ignore-files='libasyncns tests'
104
105 # Images to copy into HTML directory
106 HTML_IMAGES =                   \
107         gvfs-overview.png       \
108         menu-example.png        \
109         menu-model.png
110
111 content_files =                 \
112         version.xml             \
113         overview.xml            \
114         migrating-posix.xml     \
115         migrating-gnome-vfs.xml \
116         migrating-gconf.xml     \
117         migrating-gdbus.xml     \
118         gio-querymodules.xml    \
119         glib-compile-schemas.xml\
120         glib-compile-resources.xml      \
121         gapplication.xml        \
122         gsettings.xml           \
123         gresource.xml           \
124         gdbus.xml               \
125         gdbus-codegen.xml       \
126         $(NULL)
127
128 expand_content_files =          \
129         overview.xml            \
130         migrating-posix.xml     \
131         migrating-gnome-vfs.xml \
132         migrating-gconf.xml     \
133         migrating-gdbus.xml     \
134         gdbus-codegen.xml       \
135         $(NULL)
136
137 extra_files =                   \
138         version.xml.in          \
139         gvfs-overview.odg
140
141 # Extra options to supply to gtkdoc-fixref
142 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
143
144 include $(top_srcdir)/gtk-doc.make
145
146 EXTRA_DIST +=                   \
147         version.xml.in
148
149 man_MANS =
150
151 if ENABLE_MAN
152
153 man_MANS +=                     \
154         gapplication.1          \
155         gio-querymodules.1      \
156         glib-compile-schemas.1  \
157         glib-compile-resources.1        \
158         gsettings.1             \
159         gresource.1             \
160         gdbus.1                 \
161         gdbus-codegen.1
162
163 XSLTPROC_FLAGS = \
164         --nonet \
165         --stringparam man.output.quietly 1 \
166         --stringparam funcsynopsis.style ansi \
167         --stringparam man.th.extra1.suppress 1 \
168         --stringparam man.authors.section.enabled 0 \
169         --stringparam man.copyright.section.enabled 0
170
171 .xml.1:
172         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
173
174 endif
175
176 CLEANFILES ?=
177 CLEANFILES += $(man_MANS)
178
179 EXTRA_DIST += $(man_MANS)
180
181 dist-hook-local: all-local
182
183 gio-docs-clean: clean
184         cd $(srcdir) && rm -rf xml html