[PATCH 5/5] doc: filter out doc generation spam

Keith Packard keithp at keithp.com
Tue Dec 9 09:31:01 PST 2014


We really don't care to see doc generation warnings about overflow

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 devbook.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devbook.am b/devbook.am
index 400b2ca..9e861af 100644
--- a/devbook.am
+++ b/devbook.am
@@ -46,9 +46,9 @@ XMLTO_FO_FLAGS = 					\
 
 noinst_DATA += $(docbook:.xml=.pdf) $(docbook:.xml=.ps)
 %.pdf: %.xml $(chapters)
-	$(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< 2>&1 | grep -v 'overflows' | grep -v Rendered
 %.ps: %.xml $(chapters)
-	$(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< 2>&1 | grep -v 'overflows' | grep -v Rendered
 endif HAVE_FOP
 endif HAVE_STYLESHEETS
 
-- 
2.1.3



More information about the xorg-devel mailing list