Blame docs/Makefile.am

rpm-build 07bc2b
## Process this file with automake to produce Makefile.in
rpm-build 07bc2b
rpm-build 07bc2b
# We require automake 1.10 at least.
rpm-build 07bc2b
AUTOMAKE_OPTIONS = 1.10 color-tests
rpm-build 07bc2b
rpm-build 07bc2b
# This is a blank Makefile.am for using gtk-doc.
rpm-build 07bc2b
# Copy this to your project's API docs directory and modify the variables to
rpm-build 07bc2b
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
rpm-build 07bc2b
# of using the various options.
rpm-build 07bc2b
rpm-build 07bc2b
# The name of the module, e.g. 'glib'.
rpm-build 07bc2b
DOC_MODULE=gudev
rpm-build 07bc2b
rpm-build 07bc2b
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
rpm-build 07bc2b
#DOC_MODULE_VERSION=2
rpm-build 07bc2b
rpm-build 07bc2b
# The top-level SGML file. You can change this if you want to.
rpm-build 07bc2b
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
rpm-build 07bc2b
rpm-build 07bc2b
# The directory containing the source code. Relative to $(srcdir).
rpm-build 07bc2b
# gtk-doc will search all .c & .h files beneath here for inline comments
rpm-build 07bc2b
# documenting the functions and macros.
rpm-build 07bc2b
# e.g. DOC_SOURCE_DIR=../../../gtk
rpm-build 07bc2b
DOC_SOURCE_DIR=$(top_srcdir)/gudev $(top_builddir)/gudev
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
rpm-build 07bc2b
SCANGOBJ_OPTIONS=
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to supply to gtkdoc-scan.
rpm-build 07bc2b
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
rpm-build 07bc2b
SCAN_OPTIONS=
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to supply to gtkdoc-mkdb.
rpm-build 07bc2b
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
rpm-build 07bc2b
MKDB_OPTIONS=--xml-mode --output-format=xml --name-space=g_udev
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to supply to gtkdoc-mktmpl
rpm-build 07bc2b
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
rpm-build 07bc2b
MKTMPL_OPTIONS=
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to supply to gtkdoc-mkhtml
rpm-build 07bc2b
MKHTML_OPTIONS=--path=$(abs_srcdir) --path=$(abs_builddir)
rpm-build 07bc2b
rpm-build 07bc2b
# Extra options to supply to gtkdoc-fixref. Not normally needed.
rpm-build 07bc2b
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
rpm-build 07bc2b
FIXXREF_OPTIONS=>/dev/null 2>&1
rpm-build 07bc2b
rpm-build 07bc2b
# Used for dependencies. The docs will be rebuilt if any of these change.
rpm-build 07bc2b
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
rpm-build 07bc2b
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
rpm-build 07bc2b
HFILE_GLOB=$(top_srcdir)/gudev/*.h
rpm-build 07bc2b
CFILE_GLOB=$(top_srcdir)/gudev/*.c
rpm-build 07bc2b
rpm-build 07bc2b
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
rpm-build 07bc2b
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
rpm-build 07bc2b
EXTRA_HFILES=
rpm-build 07bc2b
rpm-build 07bc2b
# Header files to ignore when scanning. Use base file name, no paths
rpm-build 07bc2b
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
rpm-build 07bc2b
IGNORE_HFILES=gudevenumtypes.h
rpm-build 07bc2b
rpm-build 07bc2b
# Images to copy into HTML directory.
rpm-build 07bc2b
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
rpm-build 07bc2b
HTML_IMAGES=
rpm-build 07bc2b
rpm-build 07bc2b
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
rpm-build 07bc2b
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
rpm-build 07bc2b
content_files = version.xml
rpm-build 07bc2b
rpm-build 07bc2b
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
rpm-build 07bc2b
# These files must be listed here *and* in content_files
rpm-build 07bc2b
# e.g. expand_content_files=running.sgml
rpm-build 07bc2b
expand_content_files=
rpm-build 07bc2b
rpm-build 07bc2b
# Hack, hack. You silly gtk-doc, you must not add  CFLAGS multiple
rpm-build 07bc2b
# times when calling gcc; it surely can not work with options that must
rpm-build 07bc2b
# be listed only once.
rpm-build 07bc2b
# Kill CFLAGS here because gtk-doc thinks adding CFLAGS to CC _and_ also
rpm-build 07bc2b
# adding CFLAGS itself again would work.
rpm-build 07bc2b
override CFLAGS=
rpm-build 07bc2b
override LDFLAGS=
rpm-build 07bc2b
rpm-build 07bc2b
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
rpm-build 07bc2b
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
rpm-build 07bc2b
# signals and properties.
rpm-build 07bc2b
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
rpm-build 07bc2b
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
rpm-build 07bc2b
GTKDOC_CFLAGS = \
rpm-build 07bc2b
	$(GLIB_CFLAGS) \
rpm-build 07bc2b
	-I$(top_srcdir)/gudev \
rpm-build 07bc2b
	-I$(top_builddir)/gudev
rpm-build 07bc2b
rpm-build 07bc2b
GTKDOC_LIBS = \
rpm-build 07bc2b
	$(GLIB_LIBS) \
rpm-build 07bc2b
	$(top_builddir)/libgudev-1.0.la
rpm-build 07bc2b
rpm-build 07bc2b
# This includes the standard gtk-doc make rules, copied by gtkdocize.
rpm-build 07bc2b
include $(top_srcdir)/gtk-doc.make
rpm-build 07bc2b
rpm-build 07bc2b
# Other files to distribute
rpm-build 07bc2b
# e.g. EXTRA_DIST += version.xml.in
rpm-build 07bc2b
EXTRA_DIST += version.xml.in
rpm-build 07bc2b
rpm-build 07bc2b
# Files not to distribute
rpm-build 07bc2b
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
rpm-build 07bc2b
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
rpm-build 07bc2b
#DISTCLEANFILES +=