[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: Bug#115503: texi2dvi: source file directory included in
From: |
Josip Rodin |
Subject: |
address@hidden: Bug#115503: texi2dvi: source file directory included in search path] |
Date: |
Tue, 16 Oct 2001 21:19:00 +0200 |
User-agent: |
Mutt/1.2.5i |
----- Forwarded message from Florian Weimer <address@hidden> -----
Subject: Bug#115503: texi2dvi: source file directory included in search path
Reply-To: Florian Weimer <address@hidden>, address@hidden
X-Debian-PR-Package: texinfo
From: Florian Weimer <address@hidden>
To: Debian Bug Tracking System <address@hidden>
X-Reportbug-Version: 1.30
Date: Sat, 13 Oct 2001 23:21:56 +0200
Package: texinfo
Version: 4.0b-2
Severity: normal
Tags: patch
texi2dvi includes the source file directory in the TeX search path.
This is quite unusual for programs processing -I options (such as C
compilers), and even makeinfo doesn't do that. Furthermore, it's not
possible to remove that directory from the search path.
This patch fixes the problem:
--- texi2dvi 2001/10/13 21:14:22 1.1
+++ texi2dvi 2001/10/13 21:15:21
@@ -353,7 +353,7 @@
# etc. files in ${directory} don't get used in preference to fresher
# files in `.'. Include orig_pwd in case we are in clean mode, where
# we've cd'd to a temp directory.
-
common=".$path_sep$orig_pwd$path_sep$filename_dir$path_sep$txincludes$path_sep"
+ common=".$path_sep$orig_pwd$path_sep$txincludes$path_sep"
TEXINPUTS="$common$TEXINPUTS_orig"
INDEXSTYLE="$common$INDEXSTYLE_orig"
@@ -430,7 +430,7 @@
if test -n "$makeinfo"; then
$verbose "Macro-expanding $command_line_filename to $filename_src ..."
sed -f $comment_iftex_sed "$command_line_filename" \
- | $makeinfo --footnote-style=end -I "$filename_dir" $miincludes \
+ | $makeinfo --footnote-style=end $miincludes \
-o /dev/null --macro-expand=- \
| sed -f $uncomment_iftex_sed >"$filename_src"
filename_input=$filename_src
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mercury 2.4.7 #1 Sat Jul 21 10:07:15 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages texinfo depends on:
ii libc6 2.2.4-3 GNU C Library: Shared libraries an
----- End forwarded message -----
--
2. That which causes joy or happiness.
- address@hidden: Bug#115503: texi2dvi: source file directory included in search path],
Josip Rodin <=