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 \
29 gdelayedsettingsbackend.h \
31 gfamdirectorymonitor.h \
33 gfileattribute-priv.h \
35 ginotifydirectorymonitor.h \
36 ginotifyfilemonitor.h \
41 gkeyfilesettingsbackend.h \
44 glocaldirectorymonitor.h \
46 glocalfileenumerator.h \
48 glocalfileinputstream.h \
50 glocalfileoutputstream.h \
52 gnativevolumemonitor.h \
53 gnetworkingprivate.h \
54 gnullsettingsbackend.h \
56 gsettingsbackendinternal.h \
59 gunionvolumemonitor.h \
73 local_inotify_syscalls.h \
85 # CFLAGS and LDFLAGS for compiling scan program. Only needed
86 # if $(DOC_MODULE).types is non-empty.
90 -I$(top_srcdir)/glib \
91 -I$(top_srcdir)/gobject \
94 -I$(top_builddir)/glib \
95 -I$(top_builddir)/gobject \
96 -I$(top_builddir)/gio \
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 \
106 # Extra options to supply to gtkdoc-mkdb
107 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
108 --ignore-files=libasyncns
110 # Images to copy into HTML directory
117 migrating-posix.xml \
118 migrating-gnome-vfs.xml \
119 migrating-gconf.xml \
120 migrating-gdbus.xml \
121 gio-querymodules.xml \
122 glib-compile-schemas.xml\
124 gsettings-schema-convert.xml \
128 expand_content_files = \
130 migrating-posix.xml \
131 migrating-gnome-vfs.xml \
132 migrating-gconf.xml \
139 include $(top_srcdir)/gtk-doc.make
146 glib-compile-schemas.1 \
148 gsettings-schema-convert.1 \
154 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
156 dist-local-check-mans-enabled:
157 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
162 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
163 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild Pango > $@
165 dist-local-check-mans-enabled:
166 echo "*** --enable-man must be used in order to make dist"
171 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
173 EXTRA_DIST += $(man_MANS)
175 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
177 gio-docs-clean: clean
178 cd $(srcdir) && rm -rf xml html