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 BUILT_HFILES=gioenumtypes.h
19 HFILE_GLOB=$(filter-out $(addprefix %/, $(BUILT_HFILES)), $(addprefix $(top_srcdir)/gio/,$(shell cat $(top_builddir)/gio/gio-public-headers.txt))) $(addprefix $(top_builddir)/gio/,$(BUILT_HFILES))
20 CFILE_GLOB=$(top_srcdir)/gio/*.c
22 # CFLAGS and LDFLAGS for compiling scan program. Only needed
23 # if $(DOC_MODULE).types is non-empty.
29 $(top_builddir)/glib/libglib-2.0.la \
30 $(top_builddir)/gobject/libgobject-2.0.la \
31 $(top_builddir)/gmodule/libgmodule-2.0.la \
32 $(top_builddir)/gio/libgio-2.0.la \
35 # Extra options to supply to gtkdoc-mkdb
36 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
37 --ignore-files=libasyncns
39 # Images to copy into HTML directory
47 migrating-gnome-vfs.xml \
50 gio-querymodules.xml \
51 glib-compile-schemas.xml\
57 expand_content_files = \
60 migrating-gnome-vfs.xml \
70 include $(top_srcdir)/gtk-doc.make
77 glib-compile-schemas.1 \
85 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
87 dist-local-check-mans-enabled:
88 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
93 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
94 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
96 dist-local-check-mans-enabled:
97 echo "*** --enable-man must be used in order to make dist"
102 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
104 EXTRA_DIST += $(man_MANS)
106 dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
108 gio-docs-clean: clean
109 cd $(srcdir) && rm -rf xml html