[beast] DOCS: catch failing groff invocations
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [beast] DOCS: catch failing groff invocations
- Date: Thu, 25 Oct 2012 01:17:55 +0000 (UTC)
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,<\(\(http\|ftp\)s\?:[^<>]\+\)>,\<<a href="\1">\1</a>\>,g'
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]