X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2FMakefile.am;h=745841be7f1c8d918b841f9adf41671f99a51a1a;hb=28be89368b487e1d524a1aec78c892e2dbc857ad;hp=04bffe2b8b3914ea2b3ad08f05fbd9134d9083ee;hpb=b627f1b548160dd36aa2edcb98aae210f483babe;p=connman diff --git a/doc/Makefile.am b/doc/Makefile.am index 04bffe2..745841b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,41 @@ -EXTRA_DIST = manager-api.txt interface-api.txt agent-api.txt +DOC_MODULE = connman -MAINTAINERCLEANFILES = Makefile.in +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 + +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