[folks] Simplify the Folks doc Makefile.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Simplify the Folks doc Makefile.
- Date: Tue, 19 Oct 2010 23:46:14 +0000 (UTC)
commit 76066d926b4ed2dc6df51bc251645ac4090967cf
Author: Travis Reitter <travis reitter collabora co uk>
Date: Mon Oct 18 10:57:50 2010 -0700
Simplify the Folks doc Makefile.
docs/Makefile.am | 36 +++++++++++++++++++++++++++---------
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]