blob: 752c5ccfe71d9bd0dbd2bcf5ea07df7caab53daa (
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
|
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 dbus/manager.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
dbus/manager.xml: dbus-manager.xml dbus-introspection.xsl
$(MKDIR_P) -p $(builddir)/dbus
echo "<?xml version=\"1.0\"?>" > $@
echo "<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" >> $@
$(XSLTPROC) dbus-introspection.xsl $< | tail -n +2 >> $@
clean-local:
rm -rf $(builddir)/dbus
else
EXTRA_DIST = $(DOC_MAIN_SGML_FILE) connman-introduction.xml
endif
EXTRA_DIST += dbus-introspection.dtd dbus-introspection.xsl \
dbus-manager.xml
EXTRA_DIST += manager-api.txt device-api.txt network-api.txt \
connection-api.txt agent-api.txt plugin-api.txt
|