#!perl -w
use strict;
+use ExtUtils::Manifest 'maniread';
my $outname = shift || '-';
# look for files to parse
-my @files = grep $_ ne 'Imager.xs', glob '*.c';
+my $mani = maniread;
+my @files = grep /\.(c|im)$/, keys %$mani;
# scan each file for =item <func>\b
my $func;
elsif ($func && /^=(cut|head)/) {
if ($funcs{$func}) { # only save the API functions
$alldocs{$func} = [ @funcdocs ];
- $from{$func} = "Line $start in $file";
+ $from{$func} = "File $file";
if ($category) {
$funccats{$func} = $category;
push @{$cats{$category}}, $func;
Do not edit this file, it is generated automatically by apidocs.perl
from Imager's source files.
-Each function description has a comment listing the source file and
-line number where you can find the documentation.
+Each function description has a comment listing the source file where
+you can find the documentation.
=head1 NAME