summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-18 10:57:50 -0700
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-19 09:28:20 -0700
commit76066d926b4ed2dc6df51bc251645ac4090967cf (patch)
tree4b7a9ac4f38374e15a137e06c3f259b6387397d6 /docs
parent6fd4a769390d01dc80c37682ba3404b79a193991 (diff)
Simplify the Folks doc Makefile.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am36
1 files changed, 27 insertions, 9 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 5695933..2e7a2b0 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -30,6 +30,10 @@ folkstelepathyimg_DATA = \
$(folksdoc_DATA) $(folksimg_DATA): folks-doc
$(folkstelepathydoc_DATA) $(folkstelepathyimg_DATA): folks-telepathy-doc
+valadoc_flags = \
+ --force \
+ $(NULL)
+
# folks documentation
folks_doc_files = $(top_srcdir)/folks/*.vala
folks_doc_deps = \
@@ -38,12 +42,20 @@ folks_doc_deps = \
gee-1.0 \
build-conf \
$(NULL)
+valadoc_flags_folks = \
+ $(valadoc_flags) \
+ -b $(top_srcdir)/folks \
+ $(addprefix --pkg=,$(folks_doc_deps)) \
+ --vapidir=$(top_srcdir)/folks \
+ $(folks_doc_files) \
+ $(NULL)
folks-doc: $(folks_doc_files)
- $(AM_V_GEN)$(VALADOC) -o folks/ --force -b $(top_srcdir)/folks \
- $(addprefix --pkg=,$(folks_doc_deps)) \
+ $(AM_V_GEN)$(VALADOC) \
+ -o folks/ \
--doclet=devhelp \
- --vapidir=$(top_srcdir)/folks $(folks_doc_files)
+ $(valadoc_flags_folks) \
+ $(NULL)
# folks-telepathy documentation
folks_telepathy_doc_files = $(top_srcdir)/backends/telepathy/lib/*.vala
@@ -57,15 +69,21 @@ folks_telepathy_doc_deps = \
build-conf \
folks \
$(NULL)
+valadoc_flags_folks_telepathy = \
+ $(valadoc_flags) \
+ -b $(top_srcdir)/backends/telepathy/lib \
+ $(addprefix --pkg=,$(folks_telepathy_doc_deps)) \
+ --vapidir=$(top_srcdir)/folks \
+ --vapidir=$(top_srcdir)/backends/telepathy/lib \
+ $(folks_telepathy_doc_files) \
+ $(NULL)
folks-telepathy-doc: $(folks_telepathy_doc_files)
- $(AM_V_GEN)$(VALADOC) -o folks-telepathy/ \
- --force -b $(top_srcdir)/backends/telepathy/lib \
- $(addprefix --pkg=,$(folks_telepathy_doc_deps)) \
+ $(AM_V_GEN)$(VALADOC) \
+ -o folks-telepathy/ \
--doclet=devhelp \
- --vapidir=$(top_srcdir)/folks \
- --vapidir=$(top_srcdir)/backends/telepathy/lib \
- $(folks_telepathy_doc_files)
+ $(valadoc_flags_folks_telepathy) \
+ $(NULL)
.PHONY: folks-doc folks-telepathy-doc