version 1.45, 2002/04/13 19:29:32
|
version 1.47, 2002/04/26 15:53:00
|
Line 1056 sub format_description {
|
Line 1056 sub format_description {
|
sub format_files { |
sub format_files { |
my $text=$parser->get_text('/files'); |
my $text=$parser->get_text('/files'); |
$parser->get_tag('/files'); |
$parser->get_tag('/files'); |
if ($mode eq 'html') { |
if ($mode eq 'MANIFEST') { |
|
return $text; |
|
} |
|
elsif ($mode eq 'html') { |
return $directories="\n<br /> <br />". |
return $directories="\n<br /> <br />". |
"<a name='files' />". |
"<a name='files' />". |
"<font size='+2'>Files</font><br /> <br />". |
"<font size='+2'>Files</font><br /> <br />". |
Line 1174 sub format_file {
|
Line 1177 sub format_file {
|
$categorycount{$categoryname}++; |
$categorycount{$categoryname}++; |
if ($source) { |
if ($source) { |
$parser->get_tag('/file'); |
$parser->get_tag('/file'); |
if ($mode eq 'html') { |
if ($mode eq 'MANIFEST') { |
|
my $command=$build; |
|
if ($command!~/\s/) { |
|
$command=~s/\/([^\/]*)$//; |
|
} |
|
else { |
|
$command=~s/(.*?\/)([^\/]+\s+.*)$/$1/; |
|
} |
|
$command=~s/^$sourceroot\///; |
|
my (@deps)=split(/\;/,$dependencies); |
|
my $retval=join("\n",($source, |
|
(map {"$command$_"} @deps))); |
|
return $retval."\n"; |
|
} |
|
elsif ($mode eq 'html') { |
return ($file="\n<!-- FILESORT:$target -->". |
return ($file="\n<!-- FILESORT:$target -->". |
"<tr>". |
"<tr>". |
"<td><!-- POSTEVAL [$categoryname] verify.pl file '$sourcerootarg' ". |
"<td><!-- POSTEVAL [$categoryname] verify.pl file '$sourcerootarg' ". |
Line 1385 sub format_fileglob {
|
Line 1402 sub format_fileglob {
|
$categorycount{$categoryname}+=scalar(@semi)+1; |
$categorycount{$categoryname}+=scalar(@semi)+1; |
if ($sourcedir) { |
if ($sourcedir) { |
$parser->get_tag('/fileglob'); |
$parser->get_tag('/fileglob'); |
if ($mode eq 'html') { |
if ($mode eq 'MANIFEST') { |
|
return join("\n",(map {"$sourcedir$_"} split(/\;/,$filenames2)))."\n"; |
|
} |
|
elsif ($mode eq 'html') { |
return $fileglob="\n<tr>". |
return $fileglob="\n<tr>". |
"<td><!-- POSTEVAL [$categoryname] verify.pl fileglob '$sourcerootarg' ". |
"<td><!-- POSTEVAL [$categoryname] verify.pl fileglob '$sourcerootarg' ". |
"'$targetrootarg' ". |
"'$targetrootarg' ". |