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

25 lines
498 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+= version.c
VERSION!= sed < ${CVSDIR}/configure \
-e '/^VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q
version.c: version.c.in
sed -e "s,@VERSION@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
cvsbug: cvsbug.in
sed -e "s,@VERSION@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>