From: Mark Mitchell Date: Fri, 21 Oct 2005 23:29:22 +0000 (+0000) Subject: * texi2pod.pl: Substitue for @value even when part of @include. X-Git-Tag: gdb-csl-20060226-branchpoint~991 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2136c6ef216623ab3404417cf7e5095fcddf3fc;p=external%2Fbinutils.git * texi2pod.pl: Substitue for @value even when part of @include. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index 96794ff..0f01686 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2005-10-11 Mark Mitchell + + * texi2pod.pl: Substitue for @value even when part of @include. + 2005-10-21 Bob Wilson * texi2pod.pl: Import latest version from GCC. diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl index 49953d4..9696a12 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; };