2003-07-08 16:43:30 +00:00
|
|
|
#!/usr/bin/perl
|
2004-02-01 20:03:26 +00:00
|
|
|
##
|
2007-03-01 05:11:36 +00:00
|
|
|
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
|
|
|
|
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
|
2004-02-01 20:03:26 +00:00
|
|
|
##
|
|
|
|
## This program is distributed under the terms and conditions of the GNU
|
|
|
|
## General Public License Version 2 as published by the Free Software
|
|
|
|
## Foundation or, at your option, any later version.
|
2003-07-08 16:43:30 +00:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
do 'bin/make.pl';
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
my @extlist = ();
|
|
|
|
my %extensions = ();
|
|
|
|
my $group = "";
|
|
|
|
my $cur_group = "";
|
|
|
|
|
|
|
|
if (@ARGV)
|
|
|
|
{
|
|
|
|
@extlist = @ARGV;
|
2007-03-03 05:25:52 +00:00
|
|
|
my $n = 1;
|
|
|
|
print "<table border=\"0\" width=\"100%\" cellpadding=\"1\" cellspacing=\"0\" align=\"center\">\n";
|
2004-12-31 08:50:04 +00:00
|
|
|
foreach my $ext (sort @extlist)
|
|
|
|
{
|
|
|
|
my ($extname, $exturl, $types, $tokens, $functions, $exacts) = parse_ext($ext);
|
|
|
|
$cur_group = $extname;
|
|
|
|
$cur_group =~ s/^(?:W?)GL(?:X?)_([A-Z0-9]+?)_.*$/$1/;
|
|
|
|
$extname =~ s/^(?:W?)GL(?:X?)_(.*)$/$1/;
|
|
|
|
if ($cur_group ne $group)
|
|
|
|
{
|
2005-01-03 07:05:38 +00:00
|
|
|
if ($group ne "")
|
|
|
|
{
|
2007-03-03 05:25:52 +00:00
|
|
|
print "<tr><td><br></td><td></td><td></td></tr>\n";
|
2005-01-03 07:05:38 +00:00
|
|
|
}
|
2004-12-31 08:50:04 +00:00
|
|
|
$group = $cur_group;
|
|
|
|
}
|
2007-03-03 05:25:52 +00:00
|
|
|
|
2004-12-31 08:50:04 +00:00
|
|
|
{
|
2007-03-03 05:25:52 +00:00
|
|
|
if ($exturl)
|
|
|
|
{
|
|
|
|
print "<tr><td class=\"num\">$n</td><td> </td><td><a href=\"$exturl\">$extname</a></td></tr>\n";
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
print "<tr><td class=\"num\">$n</td><td> </td><td>$extname</td></tr>\n";
|
|
|
|
}
|
|
|
|
$n++;
|
2004-12-31 08:50:04 +00:00
|
|
|
}
|
|
|
|
}
|
2007-03-03 05:25:52 +00:00
|
|
|
print "</table>\n"
|
2003-07-08 16:43:30 +00:00
|
|
|
}
|