Add the key-file backend to the documentation build
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 22 Jul 2010 14:26:15 +0000 (15:26 +0100)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Tue, 3 Aug 2010 14:23:12 +0000 (10:23 -0400)
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

index e1b8011..3366215 100644 (file)
@@ -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) \