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
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
HFILE_GLOB=$(top_srcdir)/gio/*.h
|
|
|
|
CFILE_GLOB=$(top_srcdir)/gio/*.c
|
|
|
|
|
|
|
|
# Headers to ignore
|
2007-12-30 06:54:31 +01:00
|
|
|
IGNORE_HFILES= \
|
2009-05-18 11:29:11 +02:00
|
|
|
asyncns.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
fam-helper.h \
|
2009-05-18 11:29:11 +02:00
|
|
|
fen-data.h \
|
|
|
|
fen-helper.h \
|
|
|
|
fen-kernel.h \
|
|
|
|
fen-node.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gasynchelper.h \
|
2007-12-10 11:58:43 +01:00
|
|
|
gcontenttypeprivate.h \
|
2010-05-14 06:21:39 +02:00
|
|
|
gdbusauth.h \
|
|
|
|
gdbusauthmechanism.h \
|
|
|
|
gdbusauthmechanismanon.h \
|
|
|
|
gdbusauthmechanismexternal.h \
|
|
|
|
gdbusauthmechanismsha1.h \
|
|
|
|
gdbusprivate.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
gdbus-sessionbus.h \
|
|
|
|
gdbus-tests.h \
|
|
|
|
testenums.h \
|
2010-04-17 06:31:41 +02:00
|
|
|
gdelayedsettingsbackend.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gdummyfile.h \
|
|
|
|
gfamdirectorymonitor.h \
|
|
|
|
gfamfilemonitor.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
gfendirectorymonitor.h \
|
|
|
|
gfenfilemonitor.h \
|
2007-12-30 06:54:31 +01:00
|
|
|
gfileattribute-priv.h \
|
2009-07-06 04:24:14 +02:00
|
|
|
gfileinfo-priv.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
ginotifydirectorymonitor.h \
|
|
|
|
ginotifyfilemonitor.h \
|
2007-12-10 11:58:43 +01:00
|
|
|
gio-marshal.h \
|
|
|
|
gio.h \
|
2010-04-17 06:31:41 +02:00
|
|
|
gkeyfilesettingsbackend.h \
|
2007-12-10 11:58:43 +01:00
|
|
|
gioenumtypes.h \
|
|
|
|
giomodule-priv.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
glocaldirectorymonitor.h \
|
|
|
|
glocalfile.h \
|
|
|
|
glocalfileenumerator.h \
|
|
|
|
glocalfileinfo.h \
|
|
|
|
glocalfileinputstream.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
glocalfileiostream.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
glocalfilemonitor.h \
|
|
|
|
glocalfileoutputstream.h \
|
|
|
|
glocalvfs.h \
|
|
|
|
gnativevolumemonitor.h \
|
2009-05-18 11:29:11 +02:00
|
|
|
gnetworkingprivate.h \
|
2010-04-17 06:31:41 +02:00
|
|
|
gnullsettingsbackend.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gpollfilemonitor.h \
|
2010-04-15 20:59:41 +02:00
|
|
|
gsettingsbackendinternal.h \
|
2010-04-17 06:31:41 +02:00
|
|
|
gsettingsschema.h \
|
2010-05-14 06:21:39 +02:00
|
|
|
gsettings-mapping.h \
|
2008-12-29 18:53:47 +01:00
|
|
|
gthreadedresolver.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gunionvolumemonitor.h \
|
|
|
|
gunixdrive.h \
|
2008-12-29 18:53:47 +01:00
|
|
|
gunixresolver.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gunixvolume.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
gvdb-builder.h \
|
|
|
|
gvdb-format.h \
|
|
|
|
gvdb-render.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
gvolumeprivate.h \
|
|
|
|
gwin32appinfo.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
gwin32mount.h \
|
|
|
|
gwin32directorymonitor.h \
|
|
|
|
gwin32inputstream.h \
|
|
|
|
gwin32outputstream.h \
|
|
|
|
gwin32volumemonitor.h \
|
2008-12-29 18:53:47 +01:00
|
|
|
gwin32resolver.h \
|
2010-06-23 15:03:51 +02:00
|
|
|
gwinhttpfile.h \
|
|
|
|
gwinhttpfileinputstream.h \
|
|
|
|
gwinhttpfileoutputstream.h \
|
|
|
|
gwinhttpvfs.h \
|
2007-12-10 11:58:43 +01:00
|
|
|
inotify-diag.h \
|
|
|
|
inotify-helper.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
inotify-kernel.h \
|
2007-12-10 11:58:43 +01:00
|
|
|
inotify-missing.h \
|
|
|
|
inotify-path.h \
|
|
|
|
inotify-sub.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
local_inotify.h \
|
|
|
|
local_inotify_syscalls.h \
|
|
|
|
xdgmime.h \
|
2009-05-18 11:29:11 +02:00
|
|
|
xdgmimealias.h \
|
|
|
|
xdgmimecache.h \
|
|
|
|
xdgmimeglob.h \
|
|
|
|
xdgmimeint.h \
|
|
|
|
xdgmimemagic.h \
|
|
|
|
xdgmimeparent.h \
|
|
|
|
xdgmimeicon.h \
|
|
|
|
winhttp.h \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
|
|
# if $(DOC_MODULE).types is non-empty.
|
|
|
|
INCLUDES = \
|
2009-05-18 11:29:11 +02:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/glib \
|
2007-11-26 17:13:05 +01:00
|
|
|
-I$(top_srcdir)/gobject \
|
2009-07-06 03:59:38 +02:00
|
|
|
-I$(top_srcdir)/gio \
|
2009-05-18 11:29:11 +02:00
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/glib \
|
2007-11-26 17:13:05 +01:00
|
|
|
-I$(top_builddir)/gobject \
|
2009-07-06 03:59:38 +02:00
|
|
|
-I$(top_builddir)/gio \
|
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 \
|
|
|
|
$(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 \
|
2010-05-11 21:42:15 +02:00
|
|
|
migrating-gdbus.xml
|
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 \
|
2010-04-23 04:01:19 +02:00
|
|
|
gsettings.1 \
|
2010-05-07 01:39:16 +02:00
|
|
|
gdbus.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
|