mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Update build rules for .in and tidy up.
This commit is contained in:
parent
44824e53b8
commit
ca68170342
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81439
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user