[folks] Add the key-file backend to the documentation build



commit 2f71d1c69d5986fe68d66111e0721579aecd674a
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Jul 22 15:26:15 2010 +0100

    Add the key-file backend to the documentation build
    
    This requires filtering out the BackendFactory Vala files, since they contain
    global symbols (module_init(), module_finalize(), backend_factory) in both
    backends, which conflict in the documentation.

 docs/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index e1b8011..3366215 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -27,7 +27,11 @@ VALAFLAGS = --vapidir=$(top_srcdir)/folks --vapidir=$(top_srcdir)/backends/telep
 VALAFLAGS += $(TP_VALA_VALAFLAGS)
 
 # The Vala files which will have documentation extracted from them
-doc_files = $(top_srcdir)/folks/*.vala $(top_srcdir)/backends/telepathy/*.vala
+_doc_files = \
+	$(top_srcdir)/folks/*.vala \
+	$(top_srcdir)/backends/telepathy/*.vala \
+	$(top_srcdir)/backends/key-file/*.vala
+doc_files = $(filter-out %-backend-factory.vala,$(wildcard $(_doc_files)))
 
 folks-0.1/index.html: $(doc_files)
 	$(AM_V_GEN)$(VALADOC) -o folks-0.1/ --force -b $(top_srcdir) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]