aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 23:31:07 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 23:31:07 +0000
commit3eeacabc31e2ab2b372216080e51b8bfb026acfb (patch)
tree479be929ee8f0beeda236122a7ee92503588e846 /contrib
parent560414c6838d11b9672de72ebf84bb40bbc67f98 (diff)
* texi2pod.pl: Substitue for @value even when part of @include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/texi2pod.pl7
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 012dc7b88be..d727689dbe4 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 49953d4f246..9696a12f361 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;
};