Make gtk-doc processing fully optional
[connman] / doc / Makefile.am
1
2 DOC_MODULE = connman
3
4 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
5
6 DOC_SOURCE_DIR = ../src
7
8 MKDB_OPTIONS = --sgml-mode --output-format=xml --tmpl-dir=.
9
10 MKTMPL_OPTIONS = --output-dir=.
11
12 HFILE_GLOB = $(top_srcdir)/include/*.h
13 CFILE_GLOB = $(top_srcdir)/src/*.c
14
15 IGNORE_HFILES = config.h connman.h
16
17 HTML_IMAGES =
18
19 content_files = connman-introduction.xml
20
21 INCLUDES = -I$(top_srcdir) $(GLIB_CFLAGS) $(DBUS_CFLAGS)
22
23 GTKDOC_LIBS =
24
25 MAINTAINERCLEANFILES = Makefile.in \
26         $(DOC_MODULE).types $(DOC_MODULE)-*.sgml $(DOC_MODULE)-*.txt
27
28 if ENABLE_GTK_DOC
29 include $(top_srcdir)/doc/gtk-doc.make
30 else
31 EXTRA_DIST = $(DOC_MAIN_SGML_FILE) $(content_files)
32 endif
33
34 EXTRA_DIST += manager-api.txt element-api.txt agent-api.txt plugin-api.txt