[beast] DOCS: catch failing groff invocations



commit da18286c12f60bef8c4361f6454010e34a71d16d
Author: Tim Janik <timj gnu org>
Date:   Thu Oct 25 02:35:30 2012 +0200

    DOCS: catch failing groff invocations

 docs/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index d6e3009..492f082 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -76,7 +76,8 @@ HTMLMAN_PAGES = $(patsubst mans/%, html/%.html, $(MANUAL_PAGES))
 CLEANFILES   += $(HTMLMAN_PAGES)
 html/%.html: mans/%
 	$(AM_V_GEN)
-	$(Q) groff -mandoc -Thtml $< \
+	$(Q) set -o pipefail \
+	&& groff -mandoc -Thtml $< \
 	| sed $(HREFS) >$(@D)/xgen-$(@F)
 	$(Q) mv $(@D)/xgen-$(@F) $@
 HREFS = 's,&lt;\(\(http\|ftp\)s\?:[^<>]\+\)&gt;,\&lt;<a href="\1">\1</a>\&gt;,g'



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