You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2012/11/26 21:20:14 UTC

git commit: Explicitly handle exit code manually

Updated Branches:
  refs/heads/docs 20b69802f -> b54865f50


Explicitly handle exit code manually


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b54865f5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b54865f5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b54865f5

Branch: refs/heads/docs
Commit: b54865f5007fd6c3550bb41b5fc37ccc2f7aa8d8
Parents: 20b6980
Author: Noah Slater <ns...@apache.org>
Authored: Mon Nov 26 20:20:10 2012 +0000
Committer: Noah Slater <ns...@apache.org>
Committed: Mon Nov 26 20:20:10 2012 +0000

----------------------------------------------------------------------
 share/doc/build/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/b54865f5/share/doc/build/Makefile.am
----------------------------------------------------------------------
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index 8989d71..e1e87d5 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -311,8 +311,11 @@ distcheck-hook:
 	if test ! -s $(pdf_file_dist); then \
 	    $(top_srcdir)/build-aux/dist-error $(pdf_file_dist); \
 	fi
+	exit_code=0; \
 	for file in $(html_files); do \
 	    if test ! -s $$file; then \
+	        exit_code=1; \
 	        $(top_srcdir)/build-aux/dist-error $$file || break; \
 	    fi \
-	done
+	done; \
+	exit $exit_code;