2007-11-26 16:13:05 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2009-05-18 11:29:11 +02:00
|
|
|
NULL =
|
2007-11-26 16:13:05 +00:00
|
|
|
|
2011-06-03 13:22:31 -04:00
|
|
|
SUBDIRS = gdbus-object-manager-example
|
|
|
|
|
2007-11-26 16:13:05 +00: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-07-05 09:42:39 -04:00
|
|
|
BUILT_HFILES=gioenumtypes.h
|
|
|
|
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))
|
2007-11-26 16:13:05 +00: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 13:09:26 -04:00
|
|
|
$(gio_INCLUDES) \
|
2007-11-26 16:13:05 +00: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 12:53:47 -05:00
|
|
|
MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
|
|
|
|
--ignore-files=libasyncns
|
2007-11-26 16:13:05 +00:00
|
|
|
|
|
|
|
# Images to copy into HTML directory
|
2007-12-17 17:28:40 +00:00
|
|
|
HTML_IMAGES = \
|
|
|
|
gvfs-overview.png
|
2007-11-26 16:13:05 +00:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
content_files = \
|
2007-12-17 17:28:40 +00:00
|
|
|
version.xml \
|
2007-12-18 03:14:39 +00:00
|
|
|
overview.xml \
|
2010-05-06 17:52:54 -04:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2010-05-11 15:42:15 -04:00
|
|
|
migrating-gdbus.xml \
|
2010-04-18 15:54:54 -04:00
|
|
|
gio-querymodules.xml \
|
2010-04-23 17:27:26 -04:00
|
|
|
glib-compile-schemas.xml\
|
2010-04-22 01:15:54 -04:00
|
|
|
gsettings.xml \
|
2010-05-06 19:39:16 -04:00
|
|
|
gdbus.xml \
|
2011-04-08 16:57:31 -04:00
|
|
|
gdbus-codegen.xml \
|
2010-05-06 19:39:16 -04:00
|
|
|
$(NULL)
|
2007-12-18 03:14:39 +00:00
|
|
|
|
|
|
|
expand_content_files = \
|
|
|
|
overview.xml \
|
2010-05-06 17:52:54 -04:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2011-04-12 11:50:34 -04:00
|
|
|
migrating-gdbus.xml \
|
|
|
|
gdbus-codegen.xml \
|
|
|
|
$(NULL)
|
2007-11-26 16:13:05 +00:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
extra_files = \
|
2007-12-17 17:28:40 +00:00
|
|
|
version.xml.in \
|
|
|
|
gvfs-overview.odg
|
2007-11-26 16:13:05 +00:00
|
|
|
|
2011-07-10 23:55:52 -04:00
|
|
|
# Extra options to supply to gtkdoc-fixref
|
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
|
|
|
|
|
2007-11-26 16:13:05 +00:00
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
EXTRA_DIST += \
|
2007-11-26 16:13:05 +00:00
|
|
|
version.xml.in
|
2010-04-17 00:31:41 -04:00
|
|
|
|
|
|
|
man_MANS = \
|
2010-04-18 15:54:54 -04:00
|
|
|
gio-querymodules.1 \
|
2010-04-23 17:27:26 -04:00
|
|
|
glib-compile-schemas.1 \
|
2011-04-08 16:57:31 -04:00
|
|
|
gsettings.1 \
|
|
|
|
gdbus.1 \
|
|
|
|
gdbus-codegen.1
|
2010-04-17 00:31:41 -04:00
|
|
|
|
2010-04-23 14:52:26 -04:00
|
|
|
if ENABLE_MAN
|
2010-04-17 16:57:28 -04:00
|
|
|
|
2010-04-23 14:52:26 -04:00
|
|
|
.xml.1:
|
2010-04-17 00:31:41 -04:00
|
|
|
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
|
2010-04-23 14:52:26 -04: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 12:48:22 -04:00
|
|
|
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
2010-04-23 14:52:26 -04:00
|
|
|
|
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
echo "*** --enable-man must be used in order to make dist"
|
|
|
|
false
|
|
|
|
|
2010-04-17 00:31:41 -04:00
|
|
|
endif
|
|
|
|
|
2010-04-23 14:52:26 -04:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
2010-04-17 20:13:59 -04:00
|
|
|
|
2010-04-23 14:52:26 -04:00
|
|
|
dist-hook-local: dist-local-check-mans-enabled gio-docs-clean all-local
|
2010-04-17 00:31:41 -04:00
|
|
|
|
2010-04-23 14:52:26 -04:00
|
|
|
gio-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|