1 2 AUTOMAKE_OPTIONS = 1.11 3 4 DOC_MODULE = libkmod 5 6 DOC_MODULE_VERSION = 3 7 8 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml 9 10 DOC_SOURCE_DIR = $(top_srcdir)/libkmod 11 12 SCAN_OPTIONS = --ignore-decorators="__must_check|KMOD_EXPORT" 13 14 MKDB_OPTIONS = --xml-mode --output-format=xml --name-space kmod --tmpl-dir=. 15 16 MKTMPL_OPTIONS = --output-dir=. 17 18 MKHTML_OPTIONS = --path=$(abs_srcdir)/doc --path=$(abs_builddir)/doc 19 20 HFILE_GLOB = $(top_srcdir)/libkmod/libkmod.h 21 CFILE_GLOB = $(top_srcdir)/libkmod/libkmod.c $(top_srcdir)/libkmod/libkmod-module.c $(top_srcdir)/libkmod/libkmod-list.c 22 23 IGNORE_HFILES = libkmod-internal.h \ 24 libkmod-index.h 25 26 content_files = version.xml 27 28 EXTRA_DIST = 29 30 if ENABLE_GTK_DOC 31 include $(top_srcdir)/libkmod/docs/gtk-doc.make 32 else 33 EXTRA_DIST += libkmod-docs.xml libkmod-sections.txt 34 endif 35