[folks] docs: Don't build empty docs for libfolks-internal.



commit 4adc85ac3a4c6bcbf6907fee64147eae868c7c46
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Oct 26 11:23:25 2011 -0700

    docs: Don't build empty docs for libfolks-internal.

 docs/Makefile.am |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 10f96ce..ebfda76 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -64,7 +64,18 @@ valadoc_flags = \
 	$(NULL)
 
 # folks documentation
-folks_doc_files = $(top_srcdir)/folks/*.vala
+folks_doc_files_blacklist = \
+	$(top_srcdir)/folks/internal.vala \
+	$(NULL)
+# this expands the list of files, so we can filter out elements
+folks_doc_files_all = \
+	$(wildcard $(top_srcdir)/folks/*.vala) \
+	$(NULL)
+# FIXME: sort the files manually to work around the native doclet portion of
+# bgo#662784
+folks_doc_files = \
+	$(sort \
+	$(filter-out $(folks_doc_files_blacklist),$(folks_doc_files_all)))
 folks_doc_deps = \
 	gconf-2.0 \
 	gmodule-2.0 \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]