Add the Telepathy backend to the documentation build
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 1 Jul 2010 16:51:20 +0000 (17:51 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 5 Jul 2010 09:44:48 +0000 (10:44 +0100)
docs/Makefile.am

index b93f96e..c121226 100644 (file)
@@ -23,10 +23,15 @@ img_DATA = \
 
 $(doc_data) $(innerdoc_DATA) $(img_DATA): folks-0.1/index.html
 
+VALAFLAGS = --vapidir=$(top_srcdir)/folks --vapidir=$(top_srcdir)/backends/telepathy
+VALAFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --variable=valaflags telepathy-vala)
+
 # The Vala files which will have documentation extracted from them
-doc_files = $(top_srcdir)/folks/*.vala
+doc_files = $(top_srcdir)/folks/*.vala $(top_srcdir)/backends/telepathy/*.vala
 
 folks-0.1/index.html: $(doc_files)
        $(VALADOC) -o folks-0.1/ --force -b $(top_srcdir) \
                --pkg=gee-1.0 --pkg=gio-2.0 --pkg=gmodule-2.0 --pkg=build-conf \
-               --vapidir=$(top_srcdir)/folks $(doc_files)
+               --pkg=telepathy-glib --pkg=tp-lowlevel \
+               $(VALAFLAGS) $(doc_files)
+