1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1996-08-20 23:58:03 +00:00
|
|
|
|
2000-01-10 11:38:51 +00:00
|
|
|
MAINTAINER= peter@FreeBSD.org
|
1999-12-08 16:43:32 +00:00
|
|
|
|
1996-08-20 23:58:03 +00:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${CVSDIR}/src
|
|
|
|
.PATH: ${CVSDIR}/man
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
MAN8= cvsbug.8
|
|
|
|
|
1995-12-11 04:24:11 +00:00
|
|
|
CLEANFILES+= cvsbug ver
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .sh
|
|
|
|
|
1997-12-18 15:22:12 +00:00
|
|
|
all: cvsbug
|
1995-12-10 23:10:40 +00:00
|
|
|
|
1997-12-18 15:22:12 +00:00
|
|
|
ver: version.c
|
|
|
|
echo > ${.TARGET} cvs-`sed < ${.ALLSRC} \
|
1995-12-10 23:10:40 +00:00
|
|
|
-e '/version_string/!d' \
|
|
|
|
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
|
|
|
|
-e q`
|
|
|
|
|
1997-12-18 15:22:12 +00:00
|
|
|
.sh: ver
|
|
|
|
sed -e "s,xVERSIONx,`cat ver`,g" ${.IMPSRC} > ${.TARGET}
|
1995-12-10 23:10:40 +00:00
|
|
|
|
1995-12-11 01:58:53 +00:00
|
|
|
beforeinstall:
|
1997-01-01 04:22:23 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1995-12-10 23:10:40 +00:00
|
|
|
cvsbug ${DESTDIR}${BINDIR}/cvsbug
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|