summaryrefslogtreecommitdiff
path: root/docs/Makefile.am
blob: 2b7781f3229d2638f5bedf9fafdfcedf5fcbf917 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
NULL =

AUTOMAKE_OPTIONS = 1.7

# The name of the module.
DOC_MODULE=geoclue

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

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--ignore-headers=config.h --rebuild-sections --rebuild-types

# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../src/public-api

# Used for dependencies
HFILE_GLOB=
CFILE_GLOB=

# Headers to ignore
IGNORE_HFILES= \
	$(NULL)

GTKDOC_LIBS = $(top_srcdir)/src/public-api/libgeoclue-public-api.la

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

# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=

docs-org.freedesktop.GeoClue2.Manager.xml:
	cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Manager.xml .
docs-org.freedesktop.GeoClue2.Client.xml:
	cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Client.xml .
docs-org.freedesktop.GeoClue2.Location.xml:
	cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Location.xml .
docs-org.freedesktop.GeoClue2.Agent.xml:
	cp $(top_srcdir)/src/agent/docs-org.freedesktop.GeoClue2.Agent.xml .

# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files =  			    		\
	version.xml			    		\
	docs-org.freedesktop.GeoClue2.Manager.xml	\
	docs-org.freedesktop.GeoClue2.Client.xml	\
	docs-org.freedesktop.GeoClue2.Location.xml	\
	docs-org.freedesktop.GeoClue2.Agent.xml		\
	$(NULL)

MAINTAINERCLEANFILES =		\
	*~			\
	Makefile.in		\
	geoclue.types		\
	geoclue-*.txt		\
	$(NULL)

if ENABLE_GTK_DOC
include $(top_srcdir)/gtk-doc.make
else
CLEANFILES = $(NULL)
EXTRA_DIST = geoclue-docs.xml
endif

CLEANFILES +=						\
	docs-org.freedesktop.GeoClue2.Manager.xml	\
	docs-org.freedesktop.GeoClue2.Client.xml	\
	docs-org.freedesktop.GeoClue2.Location.xml	\
	docs-org.freedesktop.GeoClue2.Agent.xml		\
	$(NULL)

# Version information for marking the documentation
EXTRA_DIST += version.xml.in

-include $(top_srcdir)/git.mk