From 62342d006e225c43a7cc1ec64c09c18487d7c392 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 13 Jul 2010 11:17:47 +0300 Subject: [PATCH] mkpdf: eat some of the dblatex warnings There are plenty of warnings about markup in screen/programmlisting tags. Filter them out until dblatex handles those tags. --- gtkdoc-mkpdf.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in index a3087f3..eaf53fc 100644 --- a/gtkdoc-mkpdf.in +++ b/gtkdoc-mkpdf.in @@ -78,7 +78,8 @@ if $is_xml; then # xsltproc is already called with --xinclude # does not work: --xslt-opts "$path_arg --nonet $@" #echo "calling: @DBLATEX@ -o $module.pdf $imgdirs $document" - @DBLATEX@ -o $module.pdf $imgdirs $document + @DBLATEX@ 2>&1 -o $module.pdf $imgdirs $document | \ + grep -v "not supported in programlisting or screen" else if test -n "@FOP@"; then @XSLTPROC@ $path_arg --nonet --xinclude \ -- 2.11.4.GIT