[PATCH 5/5] doc: filter out doc generation spam
Julien Cristau
jcristau at debian.org
Tue Dec 9 09:40:37 PST 2014
On Tue, Dec 9, 2014 at 09:31:01 -0800, Keith Packard wrote:
> 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
>
That means we now ignore the return value from xmlto, and only look at
that of grep. I'm not sure that's what we want.
Cheers,
Julien
More information about the xorg-devel
mailing list