Blame docs/Makefile.am

Packit 874993
# Process this file with automake to produce Makefile.in
Packit 874993
Packit 874993
# We require automake 1.6 at least.
Packit 874993
AUTOMAKE_OPTIONS = 1.6
Packit 874993
Packit 874993
# This is a blank Makefile.am for using gtk-doc.
Packit 874993
# Copy this to your project's API docs directory and modify the variables to
Packit 874993
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
Packit 874993
# of using the various options.
Packit 874993
Packit 874993
# The name of the module, e.g. 'glib'.
Packit 874993
DOC_MODULE=harfbuzz
Packit 874993
Packit 874993
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
Packit 874993
#DOC_MODULE_VERSION=$(HB_VERSION_MAJOR)
Packit 874993
Packit 874993
# The top-level SGML file. You can change this if you want to.
Packit 874993
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
Packit 874993
Packit 874993
# Directories containing the source code.
Packit 874993
# gtk-doc will search all .c and .h files beneath these paths
Packit 874993
# for inline comments documenting functions and macros.
Packit 874993
# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
Packit 874993
DOC_SOURCE_DIR=$(top_srcdir)/src $(top_builddir)/src
Packit 874993
Packit 874993
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
Packit 874993
SCANGOBJ_OPTIONS=
Packit 874993
Packit 874993
# Extra options to supply to gtkdoc-scan.
Packit 874993
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
Packit 874993
SCAN_OPTIONS=--rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED" \
Packit 874993
	--ignore-decorators="HB_EXTERN"
Packit 874993
Packit 874993
# Header files or dirs to ignore when scanning. Use base file/dir names
Packit 874993
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
Packit 874993
IGNORE_HFILES=`cd $(top_srcdir)/src; find . -path './hb-*/*.h' | sed 's@^.*/@@'`
Packit 874993
if HAVE_GOBJECT
Packit 874993
else
Packit 874993
IGNORE_HFILES+=hb-gobject.h hb-gobject-enums.h hb-gobject-structs.h
Packit 874993
endif
Packit 874993
Packit 874993
# Extra options to supply to gtkdoc-mkdb.
Packit 874993
# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
Packit 874993
MKDB_OPTIONS=--source-suffixes=h,cc --xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)"
Packit 874993
Packit 874993
# Extra options to supply to gtkdoc-mktmpl
Packit 874993
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
Packit 874993
MKTMPL_OPTIONS=
Packit 874993
Packit 874993
# Extra options to supply to gtkdoc-mkhtml
Packit 874993
MKHTML_OPTIONS=
Packit 874993
Packit 874993
# Extra options to supply to gtkdoc-fixref. Not normally needed.
Packit 874993
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
Packit 874993
FIXXREF_OPTIONS=
Packit 874993
Packit 874993
# Used for dependencies. The docs will be rebuilt if any of these change.
Packit 874993
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
Packit 874993
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
Packit 874993
HFILE_GLOB=$(top_srcdir)/src/hb.h $(top_srcdir)/src/hb-*.h
Packit 874993
CFILE_GLOB=$(top_srcdir)/src/hb-*.cc
Packit 874993
Packit 874993
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
Packit 874993
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
Packit 874993
EXTRA_HFILES=$(top_builddir)/src/hb-version.h
Packit 874993
Packit 874993
# Images to copy into HTML directory.
Packit 874993
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
Packit 874993
HTML_IMAGES=  \
Packit 874993
	HarfBuzz.png
Packit 874993
Packit 874993
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
Packit 874993
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
Packit 874993
content_files=	\
Packit 874993
	usermanual-buffers-language-script-and-direction.xml \
Packit 874993
	usermanual-clusters.xml \
Packit 874993
	usermanual-fonts-and-faces.xml \
Packit 874993
	usermanual-glyph-information.xml \
Packit 874993
	usermanual-hello-harfbuzz.xml \
Packit 874993
	usermanual-install-harfbuzz.xml \
Packit 874993
	usermanual-opentype-features.xml \
Packit 874993
	usermanual-what-is-harfbuzz.xml \
Packit 874993
	version.xml
Packit 874993
Packit 874993
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
Packit 874993
# These files must be listed here *and* in content_files
Packit 874993
# e.g. expand_content_files=running.sgml
Packit 874993
expand_content_files=
Packit 874993
Packit 874993
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
Packit 874993
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
Packit 874993
# signals and properties.
Packit 874993
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
Packit 874993
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
Packit 874993
GTKDOC_CFLAGS=
Packit 874993
GTKDOC_LIBS=$(top_builddir)/src/libharfbuzz.la
Packit 874993
if HAVE_GOBJECT
Packit 874993
GTKDOC_LIBS+=$(top_builddir)/src/libharfbuzz-gobject.la
Packit 874993
endif
Packit 874993
Packit 874993
# This includes the standard gtk-doc make rules, copied by gtkdocize.
Packit 874993
include $(top_srcdir)/gtk-doc.make
Packit 874993
Packit 874993
# Other files to distribute
Packit 874993
# e.g. EXTRA_DIST += version.xml.in
Packit 874993
EXTRA_DIST += version.xml.in
Packit 874993
Packit 874993
# Files not to distribute
Packit 874993
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
Packit 874993
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
Packit 874993
#DISTCLEANFILES +=
Packit 874993
Packit 874993
# Comment this out if you want 'make check' to test you doc status
Packit 874993
# and run some sanity checks
Packit 874993
if ENABLE_GTK_DOC
Packit 874993
TESTS_ENVIRONMENT = cd $(srcdir) && \
Packit 874993
  DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
Packit 874993
  SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
Packit 874993
#TESTS = $(GTKDOC_CHECK)
Packit 874993
endif
Packit 874993
Packit 874993
-include $(top_srcdir)/git.mk