[gtk-doc] mkpdf: cleanup the dblatex invocation a bit



commit ffe06c455be221a9b5f43d755b703ca80a20ccb5
Author: Stefan Kost <ensonic users sf net>
Date:   Thu Apr 14 11:46:59 2011 +0300

    mkpdf: cleanup the dblatex invocation a bit

 gtkdoc-mkpdf.in |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in
index 8b873b6..289fe58 100644
--- a/gtkdoc-mkpdf.in
+++ b/gtkdoc-mkpdf.in
@@ -93,13 +93,15 @@ if $is_xml; then
       # -V is useful for debugging
       # -T db2latex : different style
       # -d : keep transient files (for debugging)
+      # -P abc.def=$quiet : once the stylesheets have a quiet mode
       # xsltproc is already called with --xinclude
       # does not work: --xslt-opts "$path_arg --nonet $@"
-      #echo "calling: @DBLATEX@ -o $module.pdf $imgdirs $document"
+      dblatex_options="-o $module.pdf $imgdirs $document"
+      #echo "calling: @DBLATEX@ $dblatex_options"
       if test $verbose = "0"; then
-        @DBLATEX@ 2>&1 >/dev/null -o $module.pdf $imgdirs $document | grep -v 'programlisting or screen'
+        @DBLATEX@ 2>&1 >/dev/null $dblatex_options | grep -v 'programlisting or screen'
       else
-        { @DBLATEX@ 2>&1 >&3 -o $module.pdf $imgdirs $document | grep -v 'programlisting or screen' >&2; } 3>&1
+        { @DBLATEX@ 2>&1 >&3 $dblatex_options | grep -v 'programlisting or screen' >&2; } 3>&1
       fi
   else
     if test -n "@FOP@"; then



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