X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2FMakefile.am;h=982823738f6b7c99d0840e33aeaca7a28eff04d8;hb=f6e01fd34c8827f5a3c22520db6365c28cea5c2a;hp=33cc0bddfc7b422810b45e297cfc57e193710703;hpb=2eed628fda87ad562d765c87a2d8330ee707ca3a;p=connman diff --git a/doc/Makefile.am b/doc/Makefile.am index 33cc0bd..9828237 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,42 @@ -EXTRA_DIST = manager-api.txt interface-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 += overview-api.txt behavior-api.txt manager-api.txt \ + device-api.txt network-api.txt service-api.txt \ + connection-api.txt profile-api.txt agent-api.txt plugin-api.txt