summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-10 11:03:29 +0000
committerpeter <peter@FreeBSD.org>2001-08-10 11:03:29 +0000
commit101930d69e9782fca17088f8c4973eea42bb484e (patch)
tree6c2b73bc3c555752f7ce2a00bc5dea24acae3f3f
parent8e62bd79e382a19ce16eec13d46b806455c1ddc8 (diff)
downloadFreeBSD-src-101930d69e9782fca17088f8c4973eea42bb484e.zip
FreeBSD-src-101930d69e9782fca17088f8c4973eea42bb484e.tar.gz
Update build rules for .in and tidy up.
-rw-r--r--gnu/usr.bin/cvs/contrib/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/usr.bin/cvs/contrib/Makefile b/gnu/usr.bin/cvs/contrib/Makefile
index 21a07ed..ead7950 100644
--- a/gnu/usr.bin/cvs/contrib/Makefile
+++ b/gnu/usr.bin/cvs/contrib/Makefile
@@ -7,8 +7,6 @@ MAINTAINER= peter@FreeBSD.org
.PATH: ${CVSDIR}/contrib
.PATH: ${CVSDIR}/man
-#pvcs_to_rcs left out, it needs perl5
-
SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
easy-import
@@ -20,17 +18,17 @@ SCRIPTSDIR= ${EXAMPDIR}/contrib
PERLPATH= /usr/bin/perl
CLEANFILES+= $(SCRIPTS)
-.SUFFIXES: .sh .csh .pl
+.SUFFIXES: .sh .pl .in
.sh:
cp $< $@
-.csh:
- sed -e 's,xCSH_PATHx,/bin/csh,' $< > $@
-
.pl:
sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@
+.in:
+ sed -e 's,@CSH@,/bin/csh,' -e 's,@PERL@,$(PERLPATH),' $< > $@
+
beforeinstall:
.for file in ${FILES}
OpenPOWER on IntegriCloud