[gtk-doc] mkpdf: eat some of the dblatex warnings



commit 62342d006e225c43a7cc1ec64c09c18487d7c392
Author: Stefan Kost <ensonic users sf net>
Date:   Tue Jul 13 11:17:47 2010 +0300

    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 files changed, 2 insertions(+), 1 deletions(-)
---
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 \



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