AUTOMAKE_OPTIONS = 1.7

# The name of the module.
DOC_MODULE=colord-gtk

# The top-level SGML file.
DOC_MAIN_SGML_FILE=colord-gtk-docs.xml

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--ignore-headers=config.h

# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../libcolord-gtk

# Used for dependencies
HFILE_GLOB=
CFILE_GLOB=

# Headers to ignore
IGNORE_HFILES= \
	config.h

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
INCLUDES = \
	$(GLIB_CFLAGS)				\
	-I$(top_srcdir)/libcolord-gtk		\
	-I$(top_builddir)/libcolord-gtk

COLORD_LIBS = $(top_builddir)/libcolord-gtk/libcolord-gtk.la

GTKDOC_LIBS =					\
	$(GLIB_LIBS)				\
	$(COLORD_LIBS)

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml

# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=

# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files =  				\
	version.xml

# Images to copy into HTML directory
HTML_IMAGES = 					\
	$(NULL)

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

MAINTAINERCLEANFILES =				\
	*~					\
	Makefile.in				\
	colord-gtk.types			\
	colord-*.txt

if ENABLE_GTK_DOC
include $(top_srcdir)/gtk-doc.make
CLEANFILES += tmpl
else
EXTRA_DIST =
CLEANFILES = tmpl
endif

# Version information for marking the documentation
EXTRA_DIST += version.xml.in

-include $(top_srcdir)/git.mk
