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 | a2136c6ef216623ab3404417cf7e5095fcddf3fc (patch) | |
tree | c8f7cc25734a3215e4ed4462d91458d0081b8e95 /etc | |
parent | 2005-10-21 H.J. Lu <hongjiu.lu@intel.com> (diff) | |
download | binutils-gdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.tar.gz binutils-gdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.tar.bz2 binutils-gdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.zip |
* texi2pod.pl: Substitue for @value even when part of @include.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ChangeLog | 4 | ||||
-rw-r--r-- | etc/texi2pod.pl | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 96794ff1c3b..0f01686d677 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2005-10-11 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: Import latest version from GCC. diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl index 49953d4f246..9696a12f361 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; }; |