diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-01 14:08:40 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-01 23:44:47 +0200 |
commit | ca14de0605c5d881c46dc43e77ce36d3c4bf6027 (patch) | |
tree | 2e2312e0e68d53f937940089076c9f7774ea443d /docs/reference/libmm-glib/Makefile.am | |
parent | 54f476fe10e9683c19b50fc26b52ca648745fd9f (diff) |
doc: setup gtk-doc generation for libmm-glib
Diffstat (limited to 'docs/reference/libmm-glib/Makefile.am')
-rw-r--r-- | docs/reference/libmm-glib/Makefile.am | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/docs/reference/libmm-glib/Makefile.am b/docs/reference/libmm-glib/Makefile.am new file mode 100644 index 00000000..f1ecbb26 --- /dev/null +++ b/docs/reference/libmm-glib/Makefile.am @@ -0,0 +1,65 @@ + +# The name of the module. +DOC_MODULE = libmm-glib + +# The top-level SGML file. +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml + +# Extra options to supply to gtkdoc-scan +SCAN_OPTIONS = + +# The directory containing the source code. +DOC_SOURCE_DIR = $(top_srcdir)/libmm-glib + +HFILE_GLOB = +CFILE_GLOB = + +# Headers to ignore +IGNORE_HFILES = \ + mm-helpers.h \ + $(NULL) + +# CFLAGS and LDFLAGS for compiling scan program. Only needed +# if $(DOC_MODULE).types is non-empty. +INCLUDES = \ + -I$(srcdir) \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + $(MM_CFLAGS) \ + $(NULL) + +GTKDOC_LIBS = \ + $(top_builddir)/libmm-glib/libmm-glib.la \ + $(MM_LIBS) \ + $(NULL) + +# Extra options to supply to gtkdoc-mkdb +MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=mm + +if ENABLE_GTK_DOC +include $(top_srcdir)/gtk-doc.make +else +EXTRA_DIST = +CLEANFILES = +endif + +EXTRA_DIST += \ + version.xml.in \ + $(NULL) + +CLEANFILES += \ + $(DOC_MODULE)-decl-list.txt \ + $(DOC_MODULE)-decl.txt \ + $(DOC_MODULE)-overrides.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-overrides.txt \ + $(DOC_MODULE)-unused.txt \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals \ + *.stamp \ + -rf xml html tmpl \ + $(NULL) |