freebsd-dev/gnu/usr.bin/cvs/cvsbug/Makefile

27 lines
434 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
2000-01-10 11:38:51 +00:00
MAINTAINER= peter@FreeBSD.org
1999-12-08 16:43:32 +00:00
.include "${.CURDIR}/../Makefile.inc"
.PATH: ${CVSDIR}/src
.PATH: ${CVSDIR}/man
2001-04-07 11:21:35 +00:00
SCRIPTS= cvsbug
MAN= cvsbug.8
CLEANFILES+= cvsbug ver
.SUFFIXES: .sh
ver: version.c
echo > ${.TARGET} cvs-`sed < ${.ALLSRC} \
-e '/version_string/!d' \
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
-e q`
.sh: ver
sed -e "s,xVERSIONx,`cat ver`,g" ${.IMPSRC} > ${.TARGET}
.include <bsd.prog.mk>