summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 4a52ec270c08628965e94c6c3e462a1611a18fd2 (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

DOC_MODULE = connman

DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml

DOC_SOURCE_DIR = ../src

SCAN_OPTIONS = --rebuild-sections --source-dir=../include

MKDB_OPTIONS = --sgml-mode --output-format=xml --tmpl-dir=. \
						--ignore-files=connman \
						--source-dir=../include \
						--source-suffixes=c,h

MKTMPL_OPTIONS = --output-dir=.

HFILE_GLOB = $(top_srcdir)/include/*.h
CFILE_GLOB = $(top_srcdir)/src/*.c $(top_srcdir)/src/*.h

IGNORE_HFILES = connman connman.h rtnl.h dbus.h iface.h

HTML_IMAGES =

content_files = connman-introduction.xml

INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/gdbus \
	$(GTHREAD_CFLAGS) $(GMODULE_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS)

GTKDOC_LIBS = $(DBUS_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) $(GTHREAD_LIBS)

MAINTAINERCLEANFILES = Makefile.in \
	$(DOC_MODULE).types $(DOC_MODULE)-*.txt *.sgml *.bak

if ENABLE_GTK_DOC
include $(top_srcdir)/doc/gtk-doc.make
else
EXTRA_DIST = $(DOC_MAIN_SGML_FILE) connman-introduction.xml
endif

EXTRA_DIST += manager-api.txt device-api.txt network-api.txt service-api.txt \
				connection-api.txt agent-api.txt plugin-api.txt