Implement a 'NO_PRSTATS' variable. If this is defined, the PR

statistics will not be generated, and the graphs will be referenced
from www.FreeBSD.org instead of from a local copy of the images.

Requested by: phantom
This commit is contained in:
Murray Stokely 2001-11-19 04:47:58 +00:00
parent 4542e5990d
commit d76fbfdcbc
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11246

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/prstats/Makefile,v 1.1 2001/10/29 02:17:31 murray Exp $
# $FreeBSD: www/en/prstats/Makefile,v 1.2 2001/11/18 16:13:07 murray Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -8,6 +8,12 @@
.endif
DOCS= index.sgml
.if !defined(NO_PRSTATS)
SUBDIR+= ../../tools/prstats
.else
beforeinstall:
${PERL} -pi -e 's/SRC=\"gnats/SRC=\"http:\/\/www.FreeBSD.org\/prstats\/gnats/' index.html
.endif
.include "${WEB_PREFIX}/share/mk/web.site.mk"