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
|
|
|
|
2001-04-07 11:21:35 +00:00
|
|
|
SCRIPTS= cvsbug
|
|
|
|
MAN= cvsbug.8
|
1995-12-10 23:10:40 +00:00
|
|
|
|
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
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|