1995-12-10 23:10:40 +00:00
|
|
|
# $Id: Makefile,v 1.2 1995/07/25 00:31:51 bde Exp $
|
|
|
|
|
|
|
|
MAN8= cvsinit.8
|
|
|
|
|
|
|
|
EXAMPDIR= /usr/share/examples/cvs
|
|
|
|
CLEANFILES+= cvsinit
|
|
|
|
|
|
|
|
.SUFFIXES: .sh
|
|
|
|
|
|
|
|
all: cvsinit
|
|
|
|
|
|
|
|
.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,xLIBDIRx,$(EXAMPDIR),g' \
|
|
|
|
-e "s,xVERSIONx,`cat ver`,g" ${.CURDIR}/$@.sh > $@
|
1994-10-22 04:51:40 +00:00
|
|
|
|
|
|
|
afterinstall:
|
1995-07-25 00:37:58 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1995-12-10 23:10:40 +00:00
|
|
|
cvsinit ${DESTDIR}${BINDIR}/cvsinit
|
1994-10-22 04:51:40 +00:00
|
|
|
|
|
|
|
.include "../../Makefile.inc"
|
|
|
|
.include <bsd.prog.mk>
|
1995-12-10 23:10:40 +00:00
|
|
|
|