freebsd-dev/gnu/usr.bin/cvs/cvsbug/Makefile
Peter Wemm 8653f7fd3c Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script
2001-08-10 10:22:43 +00:00

26 lines
440 B
Makefile

# $FreeBSD$
MAINTAINER= peter@FreeBSD.org
.include "${.CURDIR}/../Makefile.inc"
.PATH: ${CVSDIR}/src
.PATH: ${CVSDIR}/man
.PATH: ${CVSDIR}
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>