diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 012dc7b88be6e2965618ce48fe107a4005588f56..d727689dbe4fae992603fe7bea6436bba7a65cf7 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2005-10-21 Mark Mitchell <mark@codesourcery.com> + + * texi2pod.pl: Substitue for @value even when part of @include. + 2005-10-21 Bob Wilson <bob.wilson@acm.org> * texi2pod.pl: Convert two single quotes or two backquotes to diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index 49953d4f24645dd94135fedf161821a526d8213d..9696a12f3610a10d9579ea12cc6a6680a8d0905c 100755 --- a/contrib/texi2pod.pl +++ b/contrib/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; };