xref: /dflybsd-src/gnu/usr.bin/cvs/contrib/Makefile (revision c6ecc293ce8e93b8d4edaa12241e09350a4d3f55)
1984263bcSMatthew Dillon# $FreeBSD: src/gnu/usr.bin/cvs/contrib/Makefile,v 1.14.2.5 2002/12/19 21:18:01 peter Exp $
2984263bcSMatthew Dillon
3984263bcSMatthew Dillon.include "../Makefile.inc"
4984263bcSMatthew Dillon
5984263bcSMatthew Dillon.PATH:	${CVSDIR}/contrib
6984263bcSMatthew Dillon.PATH:	${CVSDIR}/man
7984263bcSMatthew Dillon
8bf31779eSzrj.if !defined(NO_SHARE)
99360f817SMatthew DillonSCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls \
10984263bcSMatthew Dillon	 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
11984263bcSMatthew Dillon	 easy-import
12984263bcSMatthew Dillon
139360f817SMatthew DillonFILES=	 README cvshelp.man descend.man intro.doc
14bf31779eSzrj.endif
15984263bcSMatthew Dillon
16984263bcSMatthew DillonEXAMPDIR=	${SHAREDIR}/examples/cvs
17984263bcSMatthew DillonFILESDIR=	${EXAMPDIR}/contrib
18984263bcSMatthew DillonSCRIPTSDIR=	${FILESDIR}
19b307bf57SzrjPERLPATH=	/usr/bin/env perl
20*c6ecc293SAaron LICLEANFILES+=	${SCRIPTS}
21984263bcSMatthew Dillon
22984263bcSMatthew Dillon.SUFFIXES: .sh .pl .in
23984263bcSMatthew Dillon
24984263bcSMatthew Dillon.sh:
25984263bcSMatthew Dillon	cp $< $@
26984263bcSMatthew Dillon
27984263bcSMatthew Dillon.pl:
28*c6ecc293SAaron LI	sed -e 's,xPERL_PATHx,${PERLPATH},' $< > $@
29984263bcSMatthew Dillon
30984263bcSMatthew Dillon.in:
31*c6ecc293SAaron LI	sed -e 's,@CSH@,/bin/csh,' -e 's,@PERL@,${PERLPATH},' $< > $@
32984263bcSMatthew Dillon
33984263bcSMatthew Dillon.include <bsd.prog.mk>
34