bug-texinfo
[Top][All Lists]
Advanced

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

FYI: texi2dvi: make $expand a regular Boolean variable


From: Akim Demaille
Subject: FYI: texi2dvi: make $expand a regular Boolean variable
Date: Wed, 15 Apr 2009 16:59:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        texi2dvi: make $expand a regular Boolean variable.
        * bin/texi2dvi ($expand): Use true/false instead of t/''.
 
Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.148
diff -u -u -r1.148 texi2dvi
--- util/texi2dvi 15 Apr 2009 14:57:59 -0000 1.148
+++ util/texi2dvi 15 Apr 2009 14:58:56 -0000
@@ -48,7 +48,7 @@
 catcode_special=true
 debug=false
 escape="\\"
-expand=         # t for expansion via makeinfo
+expand=false    # true for expansion via makeinfo
 includes=
 line_error=true # Pass --file-line-error to TeX.
 oname=          # --output
@@ -1219,7 +1219,7 @@
 
   # Unless required by the user, makeinfo expansion is wanted only
   # if texinfo.tex is too old.
-  if test "$expand" = t; then
+  if $expand; then
     makeinfo=${MAKEINFO:-makeinfo}
   else
     # Check if texinfo.tex performs macro expansion by looking for
@@ -1559,7 +1559,7 @@
         --build-dir)  shift; build_dir=$1; build_mode=tidy;;
     -c | --clean) build_mode=clean;;
     -D | --debug) debug=true;;
-    -e | -E | --expand) expand=t;;
+    -e | -E | --expand) expand=true;;
     -h | --help) usage;;
     -I)   shift; list_concat_dirs includes "$1";;
     -l | --lang | --language) shift; set_language=$1;;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]