1998-01-26 04:33:03 +00:00
|
|
|
# $Id: Makefile,v 1.10 1997/05/15 23:00:05 peter Exp $
|
1995-12-11 01:23:45 +00:00
|
|
|
|
1996-08-20 23:58:03 +00:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
1995-12-10 23:10:40 +00:00
|
|
|
|
1996-08-20 23:58:03 +00:00
|
|
|
.PATH: ${CVSDIR}/contrib
|
|
|
|
.PATH: ${CVSDIR}/man
|
|
|
|
|
1998-01-26 04:33:03 +00:00
|
|
|
#pvcs_to_rcs left out, it needs perl5
|
|
|
|
|
1997-05-15 23:00:07 +00: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 08:43:50 +00: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-20 23:58:03 +00:00
|
|
|
.for file in ${SCRIPTS}
|
1997-01-01 04:22:23 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1996-08-20 23:58:03 +00: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-20 23:58:03 +00:00
|
|
|
${CVSDIR}/contrib/${file} ${DESTDIR}${EXAMPDIR}/contrib
|
|
|
|
.endfor
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|