1 ## Process this file with automake to produce Makefile.in
3 # The name of the module.
4 DOC_MODULE_VERSION = $(GMIME_MAJOR_VERSION).$(GMIME_MINOR_VERSION)
7 # The top-level SGML file.
8 DOC_MAIN_SGML_FILE = gmime-docs.sgml
10 # The directory containing the source code (if it contains documentation).
11 DOC_SOURCE_DIR = $(top_srcdir)/gmime
13 HTML_DIR = $(datadir)/gtk-doc/html
15 # Images to copy into HTML directory
18 # Extra options to supply to gtkdoc-scan
19 SCAN_OPTIONS = --deprecated-guards="GMIME_DISABLE_DEPRECATED"
21 # Extra options to pass to gtkdoc-scangobj
22 SCANGOBJ_OPTIONS=--type-init-func="g_mime_init (0)"
24 # Extra options to supply to gtkdoc-mkdb
25 MKDB_OPTIONS = --sgml-mode --output-format=xml --ignore-files=trio
27 # CFLAGS and LDFLAGS for compiling scan program. Only needed
28 # if $(DOC_MODULE).types is non-empty.
32 -I$(top_builddir)/gmime \
36 $(top_builddir)/util/libgmime-util.la \
37 $(top_builddir)/gmime/libgmime-$(GMIME_API_VERSION).la \
40 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
55 # Used for dependencies
56 HFILE_GLOB=$(top_srcdir)/gmime/*.h
57 CFILE_GLOB=$(top_srcdir)/gmime/*.c
59 # Header files to ignore when scanning
61 gmime-charset-map-private.h \
62 gmime-table-private.h \
67 # Extra options to supply to gtkdoc-fixref
70 include $(top_srcdir)/gtk-doc.make
72 # Other files to distribute
74 $(DOC_MODULE)-docs.sgml \
79 dist-hook-local: $(BUILT_EXTRA_DIST)
80 files='$(BUILT_EXTRA_DIST)'; \
81 for f in $$files; do \
82 if test -f $$f; then d=.; else d=$(srcdir); fi; \
83 cp $$d/$$f $(distdir) || exit 1; done