1 include $(top_srcdir)/Makefile.decl
4 # The name of the module.
7 # The top-level SGML file.
8 DOC_MAIN_SGML_FILE=gio-docs.xml
10 # Extra options to supply to gtkdoc-scan
11 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
13 # The directory containing the source code. Relative to $(srcdir)
14 DOC_SOURCE_DIR=$(top_srcdir)/gio
16 HFILE_GLOB=$(top_srcdir)/gio/*.h
17 CFILE_GLOB=$(top_srcdir)/gio/*.c
28 gcontenttypeprivate.h \
30 gdbusauthmechanism.h \
31 gdbusauthmechanismanon.h \
32 gdbusauthmechanismexternal.h \
33 gdbusauthmechanismsha1.h \
35 gdelayedsettingsbackend.h \
37 gfamdirectorymonitor.h \
39 gfileattribute-priv.h \
41 ginotifydirectorymonitor.h \
42 ginotifyfilemonitor.h \
47 gkeyfilesettingsbackend.h \
50 glocaldirectorymonitor.h \
52 glocalfileenumerator.h \
54 glocalfileinputstream.h \
56 glocalfileoutputstream.h \
58 gnativevolumemonitor.h \
59 gnetworkingprivate.h \
60 gnullsettingsbackend.h \
62 gsettingsbackendinternal.h \
66 gunionvolumemonitor.h \
80 local_inotify_syscalls.h \
92 # CFLAGS and LDFLAGS for compiling scan program. Only needed
93 # if $(DOC_MODULE).types is non-empty.
97 -I$(top_srcdir)/glib \
98 -I$(top_srcdir)/gobject \
101 -I$(top_builddir)/glib \
102 -I$(top_builddir)/gobject \
103 -I$(top_builddir)/gio \
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 \
113 # Extra options to supply to gtkdoc-mkdb
114 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
115 --ignore-files=libasyncns
117 # Images to copy into HTML directory
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\
131 gsettings-schema-convert.xml \
135 expand_content_files = \
137 migrating-posix.xml \
138 migrating-gnome-vfs.xml \
139 migrating-gconf.xml \
146 include $(top_srcdir)/gtk-doc.make
153 glib-compile-schemas.1 \
155 gsettings-schema-convert.1 \
161 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
163 dist-local-check-mans-enabled:
164 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
169 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
170 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
172 dist-local-check-mans-enabled:
173 echo "*** --enable-man must be used in order to make dist"
178 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
180 EXTRA_DIST += $(man_MANS)
182 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
184 gio-docs-clean: clean
185 cd $(srcdir) && rm -rf xml html