# makefile for test # Last edited on 1999-01-13 08:26:03 by stolfi WWWBIN = /n/www/cgi-bin WWWLIB = /n/www/cgi-lib all: install test-bin test-bin: CONTENT_LENGTH=80; export CONTENT_LENGTH; \ echo 'order=file®exp=stolfi&year=1999&month=01&day=08' \ | cgi-bin/scan-log > /tmp/report.html test-lib: cgi-lib/scan-apache-logs -sort file 'stolfi' 1999/01/13 \ > /tmp/report.log cat /tmp/report.log \ | gawk '(NF != 6){print}' install: /n/gnu/bin/cp -puv cgi-bin/scan-log $(WWWBIN)/ \ && /n/gnu/bin/chgrp webgroup $(WWWBIN)/scan-log /n/gnu/bin/cp -puv cgi-lib/scan-apache-logs $(WWWLIB)/ \ && /n/gnu/bin/chgrp webgroup $(WWWLIB)/scan-apache-logs