1 include $(top_srcdir)/Makefile.decl
4 SUBDIRS = gdbus-object-manager-example
6 # The name of the module.
9 # The top-level SGML file.
10 DOC_MAIN_SGML_FILE=gio-docs.xml
12 # Extra options to supply to gtkdoc-scan
13 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
15 # The directory containing the source code. Relative to $(srcdir)
16 DOC_SOURCE_DIR=$(top_srcdir)/gio
18 HFILE_GLOB=$(addprefix $(top_srcdir)/gio/,$(shell cat $(top_builddir)/gio/gio-public-headers.txt))
19 CFILE_GLOB=$(top_srcdir)/gio/*.c
21 # CFLAGS and LDFLAGS for compiling scan program. Only needed
22 # if $(DOC_MODULE).types is non-empty.
28 $(top_builddir)/glib/libglib-2.0.la \
29 $(top_builddir)/gobject/libgobject-2.0.la \
30 $(top_builddir)/gmodule/libgmodule-2.0.la \
31 $(top_builddir)/gio/libgio-2.0.la \
34 # Extra options to supply to gtkdoc-mkdb
35 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
36 --ignore-files=libasyncns
38 # Images to copy into HTML directory
46 migrating-gnome-vfs.xml \
49 gio-querymodules.xml \
50 glib-compile-schemas.xml\
56 expand_content_files = \
59 migrating-gnome-vfs.xml \
69 include $(top_srcdir)/gtk-doc.make
76 glib-compile-schemas.1 \
84 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
86 dist-local-check-mans-enabled:
87 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
92 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
93 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
95 dist-local-check-mans-enabled:
96 echo "*** --enable-man must be used in order to make dist"
101 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
103 EXTRA_DIST += $(man_MANS)
105 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
107 gio-docs-clean: clean
108 cd $(srcdir) && rm -rf xml html