1997-02-22 15:48:31 +00:00
|
|
|
# $Id$
|
1996-08-20 23:58:03 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${CVSDIR}/src
|
|
|
|
.PATH: ${CVSDIR}/man
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
MAN8= cvsbug.8
|
|
|
|
|
1995-12-11 04:24:11 +00:00
|
|
|
CLEANFILES+= cvsbug ver
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .sh
|
|
|
|
|
|
|
|
all: cvsbug
|
|
|
|
|
|
|
|
.sh:
|
1996-08-20 23:58:03 +00:00
|
|
|
echo > ver cvs-`sed < ${CVSDIR}/src/version.c \
|
1995-12-10 23:10:40 +00:00
|
|
|
-e '/version_string/!d' \
|
|
|
|
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
|
|
|
|
-e q`
|
1996-08-20 23:58:03 +00:00
|
|
|
sed -e "s,xVERSIONx,`cat ver`,g" $> > $@
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
|
1995-12-11 01:58:53 +00:00
|
|
|
beforeinstall:
|
1997-01-01 04:22:23 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1995-12-10 23:10:40 +00:00
|
|
|
cvsbug ${DESTDIR}${BINDIR}/cvsbug
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|