From 6d399eaec1ab6381c57a371320528fda5d2e3e7c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 17 Sep 2014 11:53:35 +0100 Subject: Revert "Don't check documentation completeness in this stable branch" This reverts commit 0273bfb815ef74115d614f5e5f04e013374f7a01. --- docs/reference/Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 16ede12d0..982359646 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 -- cgit v1.2.1