Changeset c849746 in rtems
- Timestamp:
- 05/31/00 13:25:34 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- fc76a6aa
- Parents:
- f65b3668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/tools/texi2www/texi2www
rf65b3668 rc849746 27 27 this files gets inserted near the bottom of each 28 28 generated HTML file. 29 -I path -- Append path to the directories being searched for 30 texi files. 29 31 -icons path -- Specifies the path, relative to the output directory, 30 32 to the arrow files. Default is `..'. … … 46 48 $dir = "."; # where are the generated files to go 47 49 $dirfile = "../dir.html"; # "up" node pointer 50 @include_path = () ; # list of include directories 51 48 52 while ($ARGV[0] =~ /^-/) { 49 53 $_ = shift; … … 56 60 if (/-uselongnames/) {$uselongnames = 1; next;} 57 61 if (/-verbose/) {$verbose = 1; next;} 62 if (/-I/) { push @include_path, shift; next;} 58 63 die $usage; 59 64 } 60 65 66 print STDERR "include-path:@include_path\n" if $verbose ; 61 67 &initialize_tables(); 62 68 … … 1240 1246 sub open_input_file 1241 1247 { 1242 unshift(@texinfo_file,$_[0]); 1243 print "opening $_[0] ...\n" if $debug{open_input_file}; 1244 open($texinfo_file[0],$_[0]) || die "Couldn't open $_[0]: $!\n"; 1248 my $file = "$_[0]" ; 1249 if ( not -f "$file" ) 1250 { 1251 foreach $i ( @include_path ) 1252 { 1253 if ( -f "$i/$_[0]" ) { $file = "$i/$_[0]"; last ; } 1254 } 1255 } 1256 unshift(@texinfo_file,$file); 1257 print "opening $file ...\n" if $debug{open_input_file}; 1258 open($texinfo_file[0],$file) || die "Couldn't open $file: $!\n"; 1245 1259 } # open_input_file 1246 1260
Note: See TracChangeset
for help on using the changeset viewer.