texinfo-commits
[Top][All Lists]
Advanced

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

texinfo ChangeLog util/texi2dvi


From: Akim Demaille
Subject: texinfo ChangeLog util/texi2dvi
Date: Wed, 15 Apr 2009 14:50:15 +0000

CVSROOT:        /cvsroot/texinfo
Module name:    texinfo
Changes by:     Akim Demaille <akim>    09/04/15 14:50:15

Modified files:
        .              : ChangeLog 
        util           : texi2dvi 

Log message:
        2009-04-15  Akim Demaille  <address@hidden>
        
        texi2dvi: avoid creating invisible temporary files.
        * bin/texi2dvi ($t2ddir): Strip leading `./'.
        Call sed once.
        
        2009-04-15  Akim Demaille  <address@hidden>
        
        texi2dvi: complete --help.
        * bin/texi2dvi (usage): Document --html.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1000&r2=1.1001
http://cvs.savannah.gnu.org/viewcvs/texinfo/util/texi2dvi?cvsroot=texinfo&r1=1.145&r2=1.146

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1000
retrieving revision 1.1001
diff -u -b -r1.1000 -r1.1001
--- ChangeLog   15 Apr 2009 14:41:50 -0000      1.1000
+++ ChangeLog   15 Apr 2009 14:50:13 -0000      1.1001
@@ -1,5 +1,10 @@
 2009-04-15  Akim Demaille  <address@hidden>
 
+       texi2dvi: complete --help.
+       * bin/texi2dvi (usage): Document --html.
+
+2009-04-15  Akim Demaille  <address@hidden>
+
        texi2dvi: fix error invocations.
        * bin/texi2dvi: error already reports $0, don't do it again.
 

Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -b -r1.145 -r1.146
--- util/texi2dvi       15 Apr 2009 14:41:50 -0000      1.145
+++ util/texi2dvi       15 Apr 2009 14:50:14 -0000      1.146
@@ -1,6 +1,6 @@
 #! /bin/sh
 # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
-# $Id: texi2dvi,v 1.145 2009/04/15 14:41:50 akim Exp $
+# $Id: texi2dvi,v 1.146 2009/04/15 14:50:14 akim Exp $
 #
 # Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
 # 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -33,7 +33,7 @@
 set -e
 
 # This string is expanded automatically when this file is checked out.
-rcs_revision='$Revision: 1.145 $'
+rcs_revision='$Revision: 1.146 $'
 rcs_version=`set - $rcs_revision; echo $2`
 program=`echo $0 | sed -e 's!.*/!!'`
 
@@ -328,6 +328,7 @@
 Output format:
       --dvi     output a DVI file [default]
       --dvipdf  output a PDF file via DVI (using dvipdf)
+      --html    output an HTML file.  Use HeVeA for LaTeX files
       --info    output an Info file.  Use HeVeA for LaTeX files
   -p, --pdf     use pdftex or pdflatex for processing
       --ps      output a PDF file via DVI (using dvips)
@@ -1792,11 +1793,13 @@
   case $build_dir in
       '' | . ) t2ddir=$out_noext.t2d ;;
       *) # Avoid collisions between multiple occurrences of the same
-        # file.  The sed expression is fragile if the cwd has
-        # active characters.
+         # file, so depend on the output path.  Remove leading `./',
+         # at least to avoid creating a file starting with `.!', i.e.,
+         # an invisible file. The sed expression is fragile if the cwd
+         # has active characters.  Transform / into ! so that we don't
+         # need `mkdir -p'.  It might be something to reconsider.
         t2ddir=$build_dir/`echo "$out_dir_abs/$out_noext.t2d" |
-            sed "s,^$orig_pwd/,," |
-            sed 's,/,!,g'`
+            sed "s,^$orig_pwd/,,;s,^\./,,;s,/,!,g"`
   esac
   # Remove it at exit if clean mode.
   trap "cleanup" 0 1 2 15




reply via email to

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