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

26 lines
440 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
.PATH: ${CVSDIR}
2001-04-07 11:21:35 +00:00
SCRIPTS= cvsbug
MAN= cvsbug.8
CLEANFILES+= cvsbug ver
ver: configure
echo > ${.TARGET} `sed < ${.ALLSRC} \
-e '/^VERSION=/!d' \
-e 's/.*=\(.*\)/\1/' \
-e q`
cvsbug: ver cvsbug.in
sed -e "s,@VERSION@,`cat ver`,g" ${CVSDIR}/src/cvsbug.in > ${.TARGET}
.include <bsd.prog.mk>