Add the standard makefile glue to integrate the PR generation

statistics into the rest of the web build.  This will be connected to
the web build soon so that the graphs are updated whenever the
webupdate script is run, instead of being generated from a cron job in
my home directory on freefall.
This commit is contained in:
Murray Stokely 2001-11-18 16:11:34 +00:00
parent aa990a3fdb
commit 9800ad3cd4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11240
2 changed files with 43 additions and 8 deletions

View file

@ -1,8 +1,10 @@
#!/usr/local/bin/tclsh8.3
#
# $FreeBSD$
# $FreeBSD: www/tools/prstats/go.tcl,v 1.1 2001/10/29 01:58:12 murray Exp $
#
# This script expects the directory of a GNATS database as its sole argument.
set gnatsdir [lindex $argv 0]
set fo [open _ w]
proc PR {fn} {
global fo
@ -38,6 +40,8 @@ proc PR {fn} {
close $fi
}
foreach pr [glob {/c/gnats/*/[1-9]*}] {
append gnatsdir {/*/[1-9]*}
foreach pr [glob $gnatsdir] {
PR $pr
}