13
11
HTML_DIR = $(datadir)/gtk-doc/html
15
# Images to copy into HTML directory
18
#TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE_VERSIONED)
20
13
# Extra options to supply to gtkdoc-scan
21
14
SCAN_OPTIONS = --deprecated-guards="CAMEL_DISABLE_DEPRECATED"
23
16
# Extra options to pass to gtkdoc-scangobj
24
17
SCANGOBJ_OPTIONS=--type-init-func="camel_init (\".\", 0)"
26
#SCANOBJ_FILES = $(DOC_MODULE).hierarchy
28
19
# Extra options to supply to gtkdoc-mkdb
29
20
MKDB_OPTIONS = --sgml-mode --output-format=xml --ignore-files=trio
31
# CFLAGS and LDFLAGS for compiling scan program. Only needed
32
# if $(DOC_MODULE).types is non-empty.
36
-I$(top_builddir)/camel \
22
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
26
-I$(top_builddir)/camel \
40
$(top_builddir)/camel/libcamel-2.0.la \
30
$(top_builddir)/camel/libcamel-2.0.la \
43
33
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
47
# Used for dependencies
37
# Used for dependencies. The docs will be rebuilt if any of these change.
48
38
HFILE_GLOB=$(top_srcdir)/camel/*.h
49
39
CFILE_GLOB=$(top_srcdir)/camel/*.c
51
41
# Header files to ignore when scanning
42
# XXX Ignore the imapx provider for now.
53
44
broken-date-parser.h \
54
45
camel-charset-map-private.h \
55
46
camel-groupwise-private.h \
56
48
camel-imap-private.h \
57
49
camel-imap-types.h \
58
50
camel-local-private.h \
61
53
camel-nntp-types.h \
63
55
camel-search-private.h \
66
# Extra options to supply to gtkdoc-fixref
57
camel-imapx-exception.h \
58
camel-imapx-folder.h \
59
camel-imapx-server.h \
61
camel-imapx-store-summary.h \
62
camel-imapx-stream.h \
63
camel-imapx-summary.h \
64
camel-imapx-tokenise.h \
66
camel-imapx-view-summary.h
68
# This includes the standard gtk-doc make rules, copied by gtkdocize.
69
69
include $(top_srcdir)/gtk-doc.make
71
71
# Other files to distribute
75
75
$(DOC_MODULE)-sections.txt \
78
########################################################################
82
dist-hook-local: $(BUILT_EXTRA_DIST)
83
files='$(BUILT_EXTRA_DIST)'; \
84
for f in $$files; do \
85
if test -f $$f; then d=.; else d=$(srcdir); fi; \
86
cp $$d/$$f $(distdir) || exit 1; done
78
-include $(top_srcdir)/git.mk