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

Internal server error - The gay git

500

Internal server error

Forgejo version: 9.0.3

@ -1,15 +1,46 @@
#
# $FreeBSD$
# $FreeBSD: www/tools/prstats/Makefile,v 1.1 2001/10/29 01:58:12 murray Exp $
#
.if exists(../../en/Makefile.conf)
.include "../../en/Makefile.conf"
.endif
.if exists(../../en/Makefile.inc)
.include "../../en/Makefile.inc"
.endif
WEB_PREFIX?= ${.CURDIR}/../..
GNATSDIR= /c/gnats
PRGRAPHDIR= ${DESTDIR}${WEBBASE}/prstats
GNUPLOT= /usr/local/bin/gnuplot
GRAPHS= gnats.png
GRAPHS+= gnats1.png gnats1r.png
GRAPHS+= gnats30.png gnats30r.png
GRAPHS+= gnats365.png gnats365r.png
GRAPHS+= gnats7.png gnats7r.png
CLEANFILES= ${GRAPHS}
CLEANFILES+= _ __ __1 __30 __365 __7
INSTALL_WEB?= \
${INSTALL} ${COPY} ${INSTALLFLAGS} -o ${WEBOWN} -g ${WEBGRP} -m ${WEBMODE}
all:
./go.tcl
./go.tcl ${GNATSDIR}
./eval.tcl
make copy
copy:
./cut.tcl 365 __ __365
./cut.tcl 30 __ __30
./cut.tcl 7 __ __7
./cut.tcl 1 __ __1
/usr/local/bin/gnuplot g
${GNUPLOT} g
install: ${GRAPHS}