#!/usr/bin/perl #$SVNURL="https://svn.so-much-stuff.com/svn/trunk/Eagle/projects"; $SVNURL="/pdp8/trunk/Eagle/projects"; $head = <<'EOM';
EOM print $head; # # Return a suitable link to the current object. As a side effect, # create a dependency list for the object if it needs a .zip file. $files = $dirs = 0; sub link { # $d is the directory. $files++; return "$SVNURL/$d"; } # # Read a DESCRIPTION file, and extract the documentation from it. sub description { $dirs++; open(INPUT, 'DESCRIPTION') || return; $lineone = ''; $lineone = ; if ($f) { $tag = $d; # Convert $tag into a link $link = &link(); print "\n"; } } # # Walk the directory tree, looking for DESCRIPTION files. $root = `pwd`; chop $root; $f = ''; &process('.'); print STDERR "$files files in $dirs directories\n"; $tail = <<'EOM'; EOM print $tail;