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

28 lines
661 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
cvsbug: cvsbug.in
version=`sed < ${CVSDIR}/configure \
-e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
sed -e "s,@VERSION@,$${version}-FreeBSD,g" \
-e "s,@MKTEMP@,/usr/bin/mktemp,g" \
-e "s,@PACKAGE_BUGREPORT@,bug-cvs@gnu.org,g" \
-e "s,@SENDMAIL@,/usr/sbin/sendmail,g" \
-e "s,@MKTEMP_FUNCTION@,," \
-e "s,@MKTEMP_SH_FUNCTION@,," \
${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>