[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI:
From: |
Akim Demaille |
Subject: |
FYI: |
Date: |
Wed, 15 Apr 2009 16:48:21 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
Index: ChangeLog
from Akim Demaille <address@hidden>
texi2dvi: avoid creating invisible temporary files.
* bin/texi2dvi ($t2ddir): Strip leading `./'.
Call sed once.
Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.145
diff -u -u -r1.145 texi2dvi
--- util/texi2dvi 15 Apr 2009 14:41:50 -0000 1.145
+++ util/texi2dvi 15 Apr 2009 14:47:46 -0000
@@ -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
- FYI:, Akim Demaille, 2009/04/15