telepathy-glib: Revert "Don' t check documentation completeness in this stable branch"

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed Oct 3 05:24:52 PDT 2012


Module: telepathy-glib
Branch: master
Commit: aba81b8599fca976d3d0313043d3ad2c1ce7d106
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=aba81b8599fca976d3d0313043d3ad2c1ce7d106

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Oct  3 14:16:34 2012 +0200

Revert "Don't check documentation completeness in this stable branch"

This reverts commit 860832b0521da2145e71bb2c06ff05b3a921c59f.

---

 docs/reference/Makefile.am |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 16ede12..9823596 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -142,6 +142,14 @@ check-local:
 			echo "$$file missing from telepathy-glib-docs.sgml"; \
 			err=1; \
 		fi; \
-	done
+	done; \
+	case $(enable_fatal_warnings)/$$err in \
+		(yes/1) \
+			echo "Documentation check failed" >&2; \
+			exit $$err; \
+			;; \
+		(*) \
+			exit 0; \
+			;; \
+	esac
 endif
-# ... but don't fail on incomplete documentation, this is a stable branch



More information about the telepathy-commits mailing list