summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/doc/public/Makefile.am
blob: 33bccabb7f14c4bf04cedebb1fd8507179fe5523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
include $(top_srcdir)/build/Makefile.am.common
include $(top_srcdir)/src/Makefile.am.features

# The name of the module.
DOC_MODULE=cairo

# The top-level SGML file.
DOC_MAIN_SGML_FILE=cairo-docs.xml

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="CAIRO_DISABLE_DEPRECATED" --ignore-decorators="cairo_public|cairo_private"

# The directory containing the source code.
DOC_SOURCE_DIR=$(top_srcdir)/src

# Used for dependencies
HFILE_GLOB=$(top_srcdir)/src/cairo*.h
CFILE_GLOB=$(top_srcdir)/src/cairo*.c
EXTRA_HFILES=$(top_builddir)/src/cairo-supported-features.h

# Headers to ignore
IGNORE_HFILES= \
	drm \
	cairo-features.h \
	cairo-features-win32.h \
	$(all_cairo_private) \
	$(unsupported_cairo_headers) \
	$(NULL)

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cairo

# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files =	\
	language-bindings.xml \
	version.xml \
	$(NULL)

version.xml: $(top_srcdir)/cairo-version.h
	echo $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO) > $@

# Images to copy into HTML directory
HTML_IMAGES =

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

include $(top_srcdir)/build/Makefile.am.gtk-doc

dist-hook: doc

# This line really belongs in gtk-doc.mk
$(REPORT_FILES): sgml-build.stamp

if ENABLE_GTK_DOC
TESTS += check-doc-coverage.sh
endif

TESTS += check-doc-syntax.sh
EXTRA_DIST += check-doc-coverage.sh check-doc-syntax.sh
TESTS_ENVIRONMENT = srcdir="$(srcdir)" top_srcdir="$(top_srcdir)" MAKE="$(MAKE) $(AM_MAKEFLAGS)" DOC_MODULE="$(DOC_MODULE)" REPORT_FILES="$(REPORT_FILES)"