summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index b93f96e..c121226 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -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)
+