2007-11-26 17:13:05 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2009-05-18 11:29:11 +02:00
|
|
|
NULL =
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2011-06-03 19:22:31 +02:00
|
|
|
SUBDIRS = gdbus-object-manager-example
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
# The name of the module.
|
|
|
|
DOC_MODULE=gio
|
|
|
|
|
|
|
|
# The top-level SGML file.
|
|
|
|
DOC_MAIN_SGML_FILE=gio-docs.xml
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan
|
|
|
|
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
|
|
|
|
|
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
|
|
|
DOC_SOURCE_DIR=$(top_srcdir)/gio
|
|
|
|
|
2011-06-23 16:08:46 +02:00
|
|
|
HFILE_GLOB=$(addprefix $(top_srcdir)/gio/,$(shell cat $(top_builddir)/gio/gio-public-headers.txt))
|
2007-11-26 17:13:05 +01:00
|
|
|
CFILE_GLOB=$(top_srcdir)/gio/*.c
|
|
|
|
|
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
|
|
# if $(DOC_MODULE).types is non-empty.
|
|
|
|
INCLUDES = \
|
2010-08-06 19:09:26 +02:00
|
|
|
$(gio_INCLUDES) \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(GLIB_DEBUG_FLAGS)
|
|
|
|
|
|
|
|
GTKDOC_LIBS = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mkdb
|
2008-12-29 18:53:47 +01:00
|
|
|
MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
|
|
|
|
--ignore-files=libasyncns
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
# Images to copy into HTML directory
|
2007-12-17 18:28:40 +01:00
|
|
|
HTML_IMAGES = \
|
|
|
|
gvfs-overview.png
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
content_files = \
|
2007-12-17 18:28:40 +01:00
|
|
|
version.xml \
|
2007-12-18 04:14:39 +01:00
|
|
|
overview.xml \
|
2010-05-06 23:52:54 +02:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2010-05-11 21:42:15 +02:00
|
|
|
migrating-gdbus.xml \
|
2010-04-18 21:54:54 +02:00
|
|
|
gio-querymodules.xml \
|
2010-04-23 23:27:26 +02:00
|
|
|
glib-compile-schemas.xml\
|
2010-04-22 07:15:54 +02:00
|
|
|
gsettings.xml \
|
2010-05-07 01:39:16 +02:00
|
|
|
gdbus.xml \
|
2011-04-08 22:57:31 +02:00
|
|
|
gdbus-codegen.xml \
|
2010-05-07 01:39:16 +02:00
|
|
|
$(NULL)
|
2007-12-18 04:14:39 +01:00
|
|
|
|
|
|
|
expand_content_files = \
|
|
|
|
overview.xml \
|
2010-05-06 23:52:54 +02:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2011-04-12 17:50:34 +02:00
|
|
|
migrating-gdbus.xml \
|
|
|
|
gdbus-codegen.xml \
|
|
|
|
$(NULL)
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
extra_files = \
|
2007-12-17 18:28:40 +01:00
|
|
|
version.xml.in \
|
|
|
|
gvfs-overview.odg
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
EXTRA_DIST += \
|
2007-11-26 17:13:05 +01:00
|
|
|
version.xml.in
|
2010-04-17 06:31:41 +02:00
|
|
|
|
|
|
|
man_MANS = \
|
2010-04-18 21:54:54 +02:00
|
|
|
gio-querymodules.1 \
|
2010-04-23 23:27:26 +02:00
|
|
|
glib-compile-schemas.1 \
|
2011-04-08 22:57:31 +02:00
|
|
|
gsettings.1 \
|
|
|
|
gdbus.1 \
|
|
|
|
gdbus-codegen.1
|
2010-04-17 06:31:41 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
if ENABLE_MAN
|
2010-04-17 22:57:28 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
.xml.1:
|
2010-04-17 06:31:41 +02:00
|
|
|
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
$(man_MANS):
|
|
|
|
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
2010-05-11 18:48:22 +02:00
|
|
|
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
2010-04-23 20:52:26 +02:00
|
|
|
|
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
echo "*** --enable-man must be used in order to make dist"
|
|
|
|
false
|
|
|
|
|
2010-04-17 06:31:41 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
2010-04-18 02:13:59 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
|
2010-04-17 06:31:41 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
gio-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|