1997-05-16 00:00:07 +01:00
|
|
|
# $Id: Makefile,v 1.9 1997/02/22 15:45:11 peter Exp $
|
1995-12-11 01:23:45 +00:00
|
|
|
|
1996-08-21 00:58:03 +01:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
1995-12-10 23:10:40 +00:00
|
|
|
|
1996-08-21 00:58:03 +01:00
|
|
|
.PATH: ${CVSDIR}/contrib
|
|
|
|
.PATH: ${CVSDIR}/man
|
|
|
|
|
1997-05-16 00:00:07 +01:00
|
|
|
SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
|
1995-12-11 00:45:43 +00:00
|
|
|
log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
|
1996-09-05 09:43:50 +01:00
|
|
|
easy-import
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
FILES= README cvscheck.man cvshelp.man descend.man intro.doc
|
|
|
|
|
|
|
|
EXAMPDIR= /usr/share/examples/cvs
|
|
|
|
PERLPATH= /usr/bin/perl
|
|
|
|
CLEANFILES+= $(SCRIPTS)
|
|
|
|
|
|
|
|
.SUFFIXES: .sh .csh .pl
|
|
|
|
|
|
|
|
all: ${SCRIPTS}
|
|
|
|
|
|
|
|
.sh:
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
.csh:
|
|
|
|
sed -e 's,xCSH_PATHx,/bin/csh,' $< > $@
|
|
|
|
|
|
|
|
.pl:
|
|
|
|
sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@
|
|
|
|
|
|
|
|
|
1995-12-11 01:58:53 +00:00
|
|
|
beforeinstall:
|
1996-08-21 00:58:03 +01:00
|
|
|
.for file in ${SCRIPTS}
|
1997-01-01 04:22:23 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1996-08-21 00:58:03 +01:00
|
|
|
${file} ${DESTDIR}${EXAMPDIR}/contrib
|
|
|
|
.endfor
|
|
|
|
.for file in ${FILES}
|
1995-12-10 23:10:40 +00:00
|
|
|
cd ${.CURDIR} ; \
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
1996-08-21 00:58:03 +01:00
|
|
|
${CVSDIR}/contrib/${file} ${DESTDIR}${EXAMPDIR}/contrib
|
|
|
|
.endfor
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|