doc/share/tools/prstats/Makefile
Hiroki Sato 35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00

46 lines
1 KiB
Makefile

#
# $FreeBSD$
#
.if exists(../../../en_US.ISO8859-1/Makefile.conf)
.include "../../../en_US.ISO8859-1/Makefile.conf"
.endif
.if exists(../../../en_US.ISO8859-1/Makefile.inc)
.include "../../../en_US.ISO8859-1/Makefile.inc"
.endif
DOC_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 ${GNATSDIR}
./eval.tcl
./cut.tcl 365 __ __365
./cut.tcl 30 __ __30
./cut.tcl 7 __ __7
./cut.tcl 1 __ __1
${GNUPLOT} g
install: ${GRAPHS}
.for entry in ${GRAPHS}
.if exists(${.CURDIR}/${entry})
${INSTALL_WEB} ${.CURDIR}/${entry} ${PRGRAPHDIR}
.else
${INSTALL_WEB} ${entry} ${PRGRAPHDIR}
.endif
.endfor
.include "${DOC_PREFIX}/share/mk/web.site.mk"