--- loncom/build/Attic/parse.pl 2000/12/09 19:29:16 1.6 +++ loncom/build/Attic/parse.pl 2000/12/10 03:06:11 1.8 @@ -118,6 +118,7 @@ sub begin_description_page {
  • About this file
  • Software Package Description
  • Directory Structure +
  • File Type Ownership and Permissions
  • File and Directory Structure About this file @@ -185,10 +186,17 @@ sub make_directory_structure_description END my $maxcount=0; + my @allfiles=keys %{$info{'LOCATION'}{$distribution}}; + my %diraccount; # hash to track which directories are accounted for + foreach my $file (@allfiles) { + $file=~/^(.*)\/([^\/]+)$/; + $diraccount{$1}=1; + } foreach my $d (@$dirs) { my (@matches)=($d=~/\//g); my $count=scalar(@matches); $maxcount=$count if $count>$maxcount; + delete $diraccount{$d}; } $description.=< @@ -197,6 +205,13 @@ END END $description.="\n"; + if (keys %diraccount) { + $description.= "\n"; + } foreach my $d (@$dirs) { my $dtable=$d; $dtable=~s/\//\<\/TD\>\/g; @@ -270,7 +285,11 @@ sub make_directory_and_file_structure_de

    The icons on the left column correspond to the file type specified in the second column. The last column "Notes" shows compilation, -dependency, and configuration information. +dependency, and configuration information. The CVS location +shows the location of the binary source file (if applicable) needed to +be copied to the target. If the binary source file is not at +the specified location, then the text is shown in +red.

    Development
    Permissions
    Directory Path
    Directories that are unaccounted for: \n";
    +	foreach my $d (keys %diraccount) {
    +	    $description.="$d\n";
    +	}
    +	$description.="
    @@ -327,6 +346,13 @@ END my $category=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'CATEGORY'}; my $fdescription=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'DESCRIPTION'}; my $source=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'SOURCE'}; + unless (-e "../../$source") { + $source=~/([^\/]+)$/; + my $s=$1; + $source="$source"; +# my $fr=`cd ../../; find . -name $s`; +# $source.="
    $fr\n"; + } my $notes=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'NOTES'}; $description.=<