# $FreeBSD$

.include "../Makefile.inc"

.PATH:	${CVSDIR}/contrib
.PATH:	${CVSDIR}/man

SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
	 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
	 easy-import

FILES=	 README cvscheck.man cvshelp.man descend.man intro.doc

EXAMPDIR=	${SHAREDIR}/examples/cvs
FILESDIR=	${EXAMPDIR}/contrib
SCRIPTSDIR=	${FILESDIR}
PERLPATH=	/usr/bin/perl
CLEANFILES+=	$(SCRIPTS)

.SUFFIXES: .sh .pl .in

.sh:
	cp $< $@

.pl:
	sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@

.in:
	sed -e 's,@CSH@,/bin/csh,' -e 's,@PERL@,$(PERLPATH),' $< > $@

.include <bsd.prog.mk>

# $FreeBSD$

.include "../Makefile.inc"

.PATH:	${CVSDIR}/contrib
.PATH:	${CVSDIR}/man

SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
	 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
	 easy-import

FILES=	 README cvscheck.man cvshelp.man descend.man intro.doc

EXAMPDIR=	${SHAREDIR}/examples/cvs
FILESDIR=	${EXAMPDIR}/contrib
SCRIPTSDIR=	${FILESDIR}
PERLPATH=	/usr/bin/perl
CLEANFILES+=	$(SCRIPTS)

.SUFFIXES: .sh .pl .in

.sh:
	cp ${.IMPSRC} ${.TARGET}

.pl:
	sed -e 's,xPERL_PATHx,$(PERLPATH),' ${.IMPSRC} > ${.TARGET}

.in:
	sed -e 's,@CSH@,/bin/csh,' -e 's,@PERL@,$(PERLPATH),' ${.IMPSRC} > ${.TARGET}

.include <bsd.prog.mk>

Use our standard verbose spelling of rules variables. (as a nice side affect, this will make gnu/usr.bin/cvs/contrib/Makefile have a later date than contrib/cvs/contrib/Makefile.in - which will help the build break after the 1.11.22 CVS import...)
Use our standard verbose spelling of rules variables.
(as a nice side affect, this will make gnu/usr.bin/cvs/contrib/Makefile
have a later date than contrib/cvs/contrib/Makefile.in - which will help
the build break after the 1.11.22 CVS import...)
