aboutsummaryrefslogtreecommitdiff
path: root/etc/texi2pod.pl
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-10-21 23:29:22 +0000
committerMark Mitchell <mark@codesourcery.com>2005-10-21 23:29:22 +0000
commita2136c6ef216623ab3404417cf7e5095fcddf3fc (patch)
treec8f7cc25734a3215e4ed4462d91458d0081b8e95 /etc/texi2pod.pl
parent2068d885634b88af8be6da0b9e5cac77fa146701 (diff)
downloadgdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.zip
gdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.tar.gz
gdb-a2136c6ef216623ab3404417cf7e5095fcddf3fc.tar.bz2
* texi2pod.pl: Substitue for @value even when part of @include.
Diffstat (limited to 'etc/texi2pod.pl')
-rw-r--r--etc/texi2pod.pl7
1 files changed, 4 insertions, 3 deletions
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;
};