summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index de2b0918..c7b59b68 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,7 +16,7 @@ IGNORE_HFILES = config.h connman.h
HTML_IMAGES =
-content_files = version.xml connman-introduction.xml
+content_files = connman-introduction.xml
INCLUDES = -I$(top_srcdir) $(GLIB_CFLAGS) $(DBUS_CFLAGS)
@@ -25,6 +25,10 @@ GTKDOC_LIBS =
MAINTAINERCLEANFILES = Makefile.in \
$(DOC_MODULE).types $(DOC_MODULE)-*.sgml $(DOC_MODULE)-*.txt
+if ENABLE_GTK_DOC
include $(top_srcdir)/doc/gtk-doc.make
+else
+EXTRA_DIST = $(DOC_MAIN_SGML_FILE) $(content_files)
+endif
EXTRA_DIST += manager-api.txt element-api.txt agent-api.txt plugin-api.txt