diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-10-21 23:29:22 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-10-21 23:29:22 +0000 |
commit | 6fd3ff4e701aa93f94fa1216b83ab6dde6ab2e5d (patch) | |
tree | 5002a35659a7eff7e6d224d92a1fbc1c61af5018 /etc/texi2pod.pl | |
parent | a6d19f4cd4da71db2383f5828bbb5f7a0cc1f982 (diff) | |
download | cygnal-6fd3ff4e701aa93f94fa1216b83ab6dde6ab2e5d.tar.gz cygnal-6fd3ff4e701aa93f94fa1216b83ab6dde6ab2e5d.tar.bz2 cygnal-6fd3ff4e701aa93f94fa1216b83ab6dde6ab2e5d.zip |
* texi2pod.pl: Substitue for @value even when part of @include.
Diffstat (limited to 'etc/texi2pod.pl')
-rw-r--r-- | etc/texi2pod.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl index 49953d4f2..9696a12f3 100644 --- a/etc/texi2pod.pl +++ b/etc/texi2pod.pl @@ -227,11 +227,12 @@ while(<$inf>) { /^\@include\s+(.+)$/ and do { push @instack, $inf; $inf = gensym(); + $file = postprocess($1); # Try cwd and $ibase. - open($inf, "<" . $1) - or open($inf, "<" . $ibase . "/" . $1) - or die "cannot open $1 or $ibase/$1: $!\n"; + open($inf, "<" . $file) + or open($inf, "<" . $ibase . "/" . $file) + or die "cannot open $file or $ibase/$file: $!\n"; next; }; |