blob: 336fd135ef7f278f01b86852023686536dfc5680 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $Id: Makefile,v 1.2 1995/12/11 01:58:51 peter Exp $
MAN8= cvsbug.8
CLEANFILES+= cvsbug ver
.SUFFIXES: .sh
all: cvsbug
.sh:
echo > ver cvs-`sed < ${.CURDIR}/../lib/version.c \
-e '/version_string/!d' \
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
-e q`
sed -e "s,xVERSIONx,`cat ver`,g" ${.CURDIR}/$@.sh > $@
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
cvsbug ${DESTDIR}${BINDIR}/cvsbug
.include "../../Makefile.inc"
.include <bsd.prog.mk>
|