Makefile.am revision 3306a5316851e3c7af12514d45c46da590f37311
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira## Process this file with automake to produce Makefile.in
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# We require automake 1.10 at least.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraAUTOMAKE_OPTIONS = 1.10
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# This is a blank Makefile.am for using gtk-doc.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Copy this to your project's API docs directory and modify the variables to
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# of using the various options.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# The name of the module, e.g. 'glib'.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraDOC_MODULE=gudev
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira#DOC_MODULE_VERSION=2
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# The top-level SGML file. You can change this if you want to.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraDOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# The directory containing the source code. Relative to $(srcdir).
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# gtk-doc will search all .c & .h files beneath here for inline comments
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# documenting the functions and macros.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. DOC_SOURCE_DIR=../../../gtk
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraDOC_SOURCE_DIR=$(top_srcdir)/src/gudev
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to pass to gtkdoc-scangobj. Not normally needed.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraSCANGOBJ_OPTIONS=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to supply to gtkdoc-scan.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to supply to gtkdoc-mkdb.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraMKDB_OPTIONS=--xml-mode --output-format=xml --name-space=g_udev
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to supply to gtkdoc-mktmpl
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. MKTMPL_OPTIONS=--only-section-tmpl
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraMKTMPL_OPTIONS=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to supply to gtkdoc-mkhtml
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraMKHTML_OPTIONS=--path=$(abs_srcdir) --path=$(abs_builddir)
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra options to supply to gtkdoc-fixref. Not normally needed.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraFIXXREF_OPTIONS=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Used for dependencies. The docs will be rebuilt if any of these change.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraHFILE_GLOB=$(top_srcdir)/src/gudev/*.h
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraCFILE_GLOB=$(top_srcdir)/src/gudev/*.c
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
158bffeb434c0015e2d6b9e9f15e24a6dc69a493Rafael Ferreira# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Header files to ignore when scanning. Use base file name, no paths
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraIGNORE_HFILES=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Images to copy into HTML directory.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# These files must be listed here *and* in content_files
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreiraexpand_content_files=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Only needed if you are using gtkdoc-scangobj to dynamically query widget
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# signals and properties.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraGTKDOC_CFLAGS = \
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira $(GLIB_CFLAGS) \
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira -I$(top_srcdir)/src/gudev \
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira -I$(top_builddir)/src/gudev
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael FerreiraGTKDOC_LIBS = \
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira $(GLIB_LIBS) \
158bffeb434c0015e2d6b9e9f15e24a6dc69a493Rafael Ferreira# This includes the standard gtk-doc make rules, copied by gtkdocize.
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreirainclude $(top_srcdir)/gtk-doc.make
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Other files to distribute
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Files not to distribute
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira#DISTCLEANFILES +=
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira# Comment this out if you want your docs-status tested during 'make check'
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreiraif ENABLE_GTK_DOC
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira#TESTS_ENVIRONMENT = cd $(srcsrc)
b3e486b8194f238fdb7cdf977cb6943305b34b9cRafael Ferreira#TESTS = $(GTKDOC_CHECK)